moved CASTLE_MUSIC_FIX into level specific checks (#437)

This commit is contained in:
Reonu
2022-07-19 14:34:00 +01:00
committed by GitHub
parent 5a9b5a9751
commit 5b7b0ab8d6
2 changed files with 3 additions and 6 deletions

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

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;