From ddcb9ad6d33b9a2241021b44591ba0e582a64461 Mon Sep 17 00:00:00 2001 From: MysterD Date: Tue, 29 Mar 2022 21:22:08 -0700 Subject: [PATCH] Fixed 'skip intro' setting. Intro lakitu spawns when he's supposed to now --- src/game/level_update.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/level_update.c b/src/game/level_update.c index 2ae37d5c..2ecda336 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -1481,7 +1481,7 @@ s32 lvl_init_from_save_file(UNUSED s16 arg0, s32 levelNum) { #endif sWarpDest.type = WARP_TYPE_NOT_WARPING; sDelayedWarpOp = WARP_OP_NONE; - gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1) && gCLIOpts.SkipIntro == 0 && configSkipIntro == 0; + gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1) && (gServerSettings.skipIntro == 0); if (gNetworkType == NT_NONE) { gNeverEnteredCastle = true; } gCurrLevelNum = levelNum; @@ -1551,7 +1551,7 @@ s32 lvl_exiting_credits(UNUSED s16 arg0, UNUSED s32 arg1) { void fake_lvl_init_from_save_file(void) { sWarpDest.type = WARP_TYPE_NOT_WARPING; sDelayedWarpOp = WARP_OP_NONE; - gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1) && gServerSettings.skipIntro; + gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1) && (gServerSettings.skipIntro == 0); if (gNetworkType == NT_NONE) { gNeverEnteredCastle = true; } gCurrCreditsEntry = NULL;