summaryrefslogtreecommitdiff
path: root/src/palaceDude.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-04-30 14:01:34 -0500
committerColin Noga <Tempus@chronometry.ca>2013-04-30 14:01:34 -0500
commit165828b1883fb90e3a58f717c2c538daca68ede8 (patch)
tree240c33bbe0436ff1e12b8ff05c26ed77544fc7c2 /src/palaceDude.cpp
parentb5c29919c928e55e10b82d9de2dd9879b5e1a32b (diff)
downloadkamek-165828b1883fb90e3a58f717c2c538daca68ede8.tar.gz
kamek-165828b1883fb90e3a58f717c2c538daca68ede8.zip
Minor fixes
Diffstat (limited to 'src/palaceDude.cpp')
-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);