aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2010-09-20 22:36:19 +0000
committerJohannes Schickel2010-09-20 22:36:19 +0000
commitec80b95580955fc3eba560c5b89f2aad6bd79a57 (patch)
tree9f4c994f7fe8a4d5600680ee216da6328ffa0f81 /engines/kyra
parent18d41096f6dcf6114d97572b20a484ad5a096e9f (diff)
downloadscummvm-rg350-ec80b95580955fc3eba560c5b89f2aad6bd79a57.tar.gz
scummvm-rg350-ec80b95580955fc3eba560c5b89f2aad6bd79a57.tar.bz2
scummvm-rg350-ec80b95580955fc3eba560c5b89f2aad6bd79a57.zip
KYRA: Fix RTL from LoL's main menu.
svn-id: r52835
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/sequences_lol.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/kyra/sequences_lol.cpp b/engines/kyra/sequences_lol.cpp
index 6f0afea033..ac9148e607 100644
--- a/engines/kyra/sequences_lol.cpp
+++ b/engines/kyra/sequences_lol.cpp
@@ -81,6 +81,13 @@ int LoLEngine::processPrologue() {
}
switch (selection) {
+ case -1:
+ // This is sent on RTL for example, if we would not have any
+ // special case for this the default path would call quitGame
+ // and thus make the next game launched from the launcher
+ // quit instantly.
+ break;
+
case 0: // New game
processSelection = 0;
break;