From ef628fcf234bf456e520e09af086c8dce1d354d3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 30 Apr 2013 21:07:40 +0200 Subject: don't always use settings 0x80000000 when returning to map from palacedude --- src/palaceDude.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/palaceDude.cpp b/src/palaceDude.cpp index b685cd2..4714e79 100644 --- a/src/palaceDude.cpp +++ b/src/palaceDude.cpp @@ -52,9 +52,12 @@ int dPalaceDude_c::onExecute() { // OSReport("Palace Dude is activated, %d\n", dMsgBoxManager_c::instance->visible); if (!dMsgBoxManager_c::instance->visible) { // OSReport("Exiting\n"); - if (settings & 0xF000000) + u32 wmsettings = 0; + if (settings & 0xF000000) { SaveGame(0, false); - ExitStage(WORLD_MAP, 0x80000000, BEAT_LEVEL, MARIO_WIPE); + wmsettings = 0x80000000; + } + ExitStage(WORLD_MAP, wmsettings, BEAT_LEVEL, MARIO_WIPE); hasExitedStage = true; } } -- cgit v1.2.3