diff options
author | Colin Noga <Tempus@chronometry.ca> | 2013-04-30 14:01:34 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2013-04-30 14:01:34 -0500 |
commit | 165828b1883fb90e3a58f717c2c538daca68ede8 (patch) | |
tree | 240c33bbe0436ff1e12b8ff05c26ed77544fc7c2 /src | |
parent | b5c29919c928e55e10b82d9de2dd9879b5e1a32b (diff) | |
download | kamek-165828b1883fb90e3a58f717c2c538daca68ede8.tar.gz kamek-165828b1883fb90e3a58f717c2c538daca68ede8.zip |
Minor fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/palaceDude.cpp | 10 |
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); |