diff options
Diffstat (limited to '')
-rw-r--r-- | src/palaceDude.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/palaceDude.cpp b/src/palaceDude.cpp index 4714e79..bb8ec20 100644 --- a/src/palaceDude.cpp +++ b/src/palaceDude.cpp @@ -31,18 +31,18 @@ int dPalaceDude_c::onExecute() { int delay; if (!(settings & 0xF000000)) { delay = 270; - StopBGMMusic(); } - else { - delay = 1020; } + StopBGMMusic(); + SaveBlock *save = GetSaveFile()->GetBlock(-1); + GameMgrP->switchPalaceFlag |= (1 << (settings >> 28)); + } else { + delay = 1020; + } dMsgBoxManager_c::instance->showMessage( settings & 0xFFFFFF, // message ID false, // cannot cancel delay // delay ); - - SaveBlock *save = GetSaveFile()->GetBlock(-1); - GameMgrP->switchPalaceFlag |= (1 << (settings >> 28)); } } |