From 165828b1883fb90e3a58f717c2c538daca68ede8 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Tue, 30 Apr 2013 14:01:34 -0500 Subject: Minor fixes --- src/palaceDude.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3