moved CASTLE_MUSIC_FIX into level specific checks (#437)

This commit is contained in:
Reonu authored and GitHub committed 2022-07-19 08:34:00 -05:00
1 parent 5a9b5a9751
commit 5b7b0ab8d6
2 files changed
+3 -6

No files matched your search

-3
View File
@@ -4,9 +4,6 @@
* AUDIO SETTINGS *
******************/
// Fixes the castle music sometimes triggering after getting a dialog.
#define CASTLE_MUSIC_FIX
// Do not restart the music on cap grabs.
#define PERSISTENT_CAP_MUSIC
+3 -3
View File
@@ -1287,10 +1287,10 @@ s32 lvl_init_from_save_file(UNUSED s16 initOrUpdate, s32 levelNum) {
#endif
sWarpDest.type = WARP_TYPE_NOT_WARPING;
sDelayedWarpOp = WARP_OP_NONE;
#ifdef CASTLE_MUSIC_FIX
gNeverEnteredCastle = 0;
#else
#ifdef ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS
gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1);
#else
gNeverEnteredCastle = 0;
#endif
gCurrLevelNum = levelNum;
gCurrCourseNum = COURSE_NONE;