summaryrefslogtreecommitdiff
path: root/src/palaceDude.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/palaceDude.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/palaceDude.cpp b/src/palaceDude.cpp
index 7aa0ccc..b685cd2 100644
--- a/src/palaceDude.cpp
+++ b/src/palaceDude.cpp
@@ -28,13 +28,17 @@ int dPalaceDude_c::onExecute() {
// OSReport("Activating Palace Dude\n");
hasBeenActivated = true;
- if (!(settings & 0xF000000))
- StopBGMMusic();
+ int delay;
+ if (!(settings & 0xF000000)) {
+ delay = 270;
+ StopBGMMusic(); }
+ else {
+ delay = 1020; }
dMsgBoxManager_c::instance->showMessage(
settings & 0xFFFFFF, // message ID
false, // cannot cancel
- (settings & 0xF000000) ? 270 : 840 // delay
+ delay // delay
);
SaveBlock *save = GetSaveFile()->GetBlock(-1);