aboutsummaryrefslogtreecommitdiff
path: root/engines/queen
diff options
context:
space:
mode:
authorChristopher Page2008-06-25 02:14:55 +0000
committerChristopher Page2008-06-25 02:14:55 +0000
commit7d0eb4f4f069beea93f970b2918ad6cf65c2eaa7 (patch)
treee882df1d4463a177cd598ce579da01c38c0fbb40 /engines/queen
parente37b0745d362945a017d71e420284021667132f5 (diff)
downloadscummvm-rg350-7d0eb4f4f069beea93f970b2918ad6cf65c2eaa7.tar.gz
scummvm-rg350-7d0eb4f4f069beea93f970b2918ad6cf65c2eaa7.tar.bz2
scummvm-rg350-7d0eb4f4f069beea93f970b2918ad6cf65c2eaa7.zip
Queen and Saga now use the new _quit flag
svn-id: r32774
Diffstat (limited to 'engines/queen')
-rw-r--r--engines/queen/queen.cpp4
-rw-r--r--engines/queen/queen.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp
index c95e44b477..5cd94aa2ae 100644
--- a/engines/queen/queen.cpp
+++ b/engines/queen/queen.cpp
@@ -381,7 +381,7 @@ int QueenEngine::go() {
loadGameState(ConfMan.getInt("save_slot"));
}
_lastSaveTime = _lastUpdateTime = _system->getMillis();
- _quit = false;
+
while (!_quit) {
if (_logic->newRoom() > 0) {
_logic->update();
@@ -400,7 +400,7 @@ int QueenEngine::go() {
update(true);
}
}
- return 0;
+ return _rtl;
}
int QueenEngine::init() {
diff --git a/engines/queen/queen.h b/engines/queen/queen.h
index 0beb557b36..29d568e760 100644
--- a/engines/queen/queen.h
+++ b/engines/queen/queen.h
@@ -137,7 +137,6 @@ protected:
int _talkSpeed;
bool _subtitles;
- bool _quit;
uint32 _lastSaveTime;
uint32 _lastUpdateTime;