PEGASUS: Fix shell notifications on loading games

This commit is contained in:
Matthew Hoops 2011-10-11 19:46:15 -04:00
parent 5062aaffca
commit 13fef21fed

View File

@ -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();