aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-26 20:30:57 +0000
committerTorbjörn Andersson2006-07-26 20:30:57 +0000
commite9f13232210a74ae05488beec43f87d7b5e27eb5 (patch)
tree72d081cc55939e967aa39724e25351ff7086371b
parentfcb7fe3e630b502c78011cb56ff70b0570af0cb6 (diff)
downloadscummvm-rg350-e9f13232210a74ae05488beec43f87d7b5e27eb5.tar.gz
scummvm-rg350-e9f13232210a74ae05488beec43f87d7b5e27eb5.tar.bz2
scummvm-rg350-e9f13232210a74ae05488beec43f87d7b5e27eb5.zip
End the Kyra 3 menu screen if _quitFlag is set.
svn-id: r23603
-rw-r--r--engines/kyra/kyra3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra3.cpp b/engines/kyra/kyra3.cpp
index 0bf7c865da..2d18daae31 100644
--- a/engines/kyra/kyra3.cpp
+++ b/engines/kyra/kyra3.cpp
@@ -102,7 +102,7 @@ int KyraEngine_v3::go() {
assert(logo->opened());
bool running = true;
- while (running) {
+ while (running && !_quitFlag) {
_screen->_curPage = 0;
_screen->clearPage(0);