From 2493a00f8bf44609d84237c194225ee35915e648 Mon Sep 17 00:00:00 2001 From: HylianFreddy <82058772+HylianFreddy@users.noreply.github.com> Date: Wed, 13 Mar 2024 22:46:10 +0100 Subject: [PATCH] Fix starting with maps and compasses (#59) --- code/source/rnd/savefile.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/source/rnd/savefile.cpp b/code/source/rnd/savefile.cpp index 6d0f815c..b877fc9d 100644 --- a/code/source/rnd/savefile.cpp +++ b/code/source/rnd/savefile.cpp @@ -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; @@ -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) {