aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-11 19:46:15 -0400
committerMatthew Hoops2011-10-11 19:46:15 -0400
commit13fef21fed3631af3c8ebc5c34ccaf2d077af983 (patch)
tree74c49fb4d1cc07a3dcf57801105caa2446e8437c /engines/pegasus/pegasus.cpp
parent5062aaffcaba2c564e1f3181e46a186b2744e036 (diff)
downloadscummvm-rg350-13fef21fed3631af3c8ebc5c34ccaf2d077af983.tar.gz
scummvm-rg350-13fef21fed3631af3c8ebc5c34ccaf2d077af983.tar.bz2
scummvm-rg350-13fef21fed3631af3c8ebc5c34ccaf2d077af983.zip
PEGASUS: Fix shell notifications on loading games
Diffstat (limited to 'engines/pegasus/pegasus.cpp')
-rw-r--r--engines/pegasus/pegasus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index a13a77d910..6536c30bf0 100644
--- a/engines/pegasus/pegasus.cpp
+++ b/engines/pegasus/pegasus.cpp
@@ -157,11 +157,11 @@ Common::Error PegasusEngine::run() {
doIntro = (loadGameState(gameToLoad).getCode() != Common::kNoError);
}
- if (doIntro) {
+ _shellNotification.notifyMe(this, kJMPShellNotificationFlags, kJMPShellNotificationFlags);
+
+ if (doIntro)
// Start up the first notification
- _shellNotification.notifyMe(this, kJMPShellNotificationFlags, kJMPShellNotificationFlags);
_shellNotification.setNotificationFlags(kGameStartingFlag, kGameStartingFlag);
- }
while (!shouldQuit()) {
processShell();