From 7d0eb4f4f069beea93f970b2918ad6cf65c2eaa7 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Wed, 25 Jun 2008 02:14:55 +0000 Subject: Queen and Saga now use the new _quit flag svn-id: r32774 --- engines/queen/queen.cpp | 4 ++-- engines/queen/queen.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/queen') 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; -- cgit v1.2.3