Skip to content

Commit

Permalink
Fix starting with maps and compasses (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
HylianFreddy authored Mar 13, 2024
1 parent 8a402b8 commit 2493a00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/source/rnd/savefile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ namespace rnd {
// game::SaveData& saveBackupData = game::GetCommonData().save_backup;
game::SaveData& saveData = game::GetCommonData().save;
// give maps and compasses
if (gSettingsContext.mapsAndCompasses == (u8)MapsAndCompassesSetting::MAPSANDCOMPASSES_ANY_DUNGEON) {
if (gSettingsContext.mapsAndCompasses == (u8)MapsAndCompassesSetting::MAPSANDCOMPASSES_START_WITH) {
saveData.inventory.woodfall_dungeon_items.map = 1;
saveData.inventory.woodfall_dungeon_items.compass = 1;
saveData.inventory.snowhead_dungeon_items.map = 1;
Expand All @@ -376,9 +376,6 @@ namespace rnd {
saveData.inventory.stone_tower_dungeon_items.map = 1;
saveData.inventory.stone_tower_dungeon_items.compass = 1;
}
if (gSettingsContext.mapsAndCompasses == (u8)MapsAndCompassesSetting::MAPSANDCOMPASSES_OVERWORLD) {
SaveFile_FillOverWorldMapData();
}

// give small keys
if (gSettingsContext.keysanity == (u8)KeysanitySetting::KEYSANITY_START_WITH) {
Expand Down

0 comments on commit 2493a00

Please sign in to comment.