diff options
author | Christopher Page | 2008-07-10 22:34:48 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-10 22:34:48 +0000 |
commit | 17ce8db211051bf0b7626958201b5bcfec206979 (patch) | |
tree | 2b7b2f476c21e49fb8f36fd752a991210bd60870 /engines/lure/fights.cpp | |
parent | 1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7 (diff) | |
download | scummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.tar.gz scummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.tar.bz2 scummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.zip |
Lure works with the new GMM implementation
svn-id: r32996
Diffstat (limited to 'engines/lure/fights.cpp')
-rw-r--r-- | engines/lure/fights.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/fights.cpp b/engines/lure/fights.cpp index f3eaa6f248..51fce850e6 100644 --- a/engines/lure/fights.cpp +++ b/engines/lure/fights.cpp @@ -117,7 +117,7 @@ void FightsManager::fightLoop() { uint32 timerVal = g_system->getMillis(); // Loop for the duration of the battle - while (!engine._quit && (playerFight.fwhits != GENERAL_MAGIC_ID)) { + while (!engine.quit() && (playerFight.fwhits != GENERAL_MAGIC_ID)) { checkEvents(); if (g_system->getMillis() > timerVal + GAME_FRAME_DELAY) { @@ -198,7 +198,7 @@ void FightsManager::checkEvents() { if (events.type() == Common::EVENT_KEYDOWN) { switch (events.event().kbd.keycode) { case Common::KEYCODE_ESCAPE: - engine._quit = true; + engine.quitGame(); return; case Common::KEYCODE_d: |