aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-06 16:17:03 +0000
committerJohannes Schickel2009-07-06 16:17:03 +0000
commitc22010b3d2155c033e260bba267b7eb2409ce2ca (patch)
treec61648f93c44aa7ad52c0c3e6552bd941037274a
parent30d1462da058b8e4f53e43885714556b1eaa0a55 (diff)
downloadscummvm-rg350-c22010b3d2155c033e260bba267b7eb2409ce2ca.tar.gz
scummvm-rg350-c22010b3d2155c033e260bba267b7eb2409ce2ca.tar.bz2
scummvm-rg350-c22010b3d2155c033e260bba267b7eb2409ce2ca.zip
Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)
svn-id: r42180
-rw-r--r--engines/kyra/kyra_mr.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp
index 871edd578d..a00b3a8956 100644
--- a/engines/kyra/kyra_mr.cpp
+++ b/engines/kyra/kyra_mr.cpp
@@ -310,16 +310,19 @@ Common::Error KyraEngine_MR::go() {
break;
case 3:
- default:
fadeOutMusic(60);
_screen->fadeToBlack(60);
uninitMainMenu();
quitGame();
running = false;
+ break;
+
+ default:
+ break;
}
}
- if (_showOutro)
+ if (_showOutro && !shouldQuit())
playVQA("CREDITS");
return Common::kNoError;