From 17ce8db211051bf0b7626958201b5bcfec206979 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Thu, 10 Jul 2008 22:34:48 +0000 Subject: Lure works with the new GMM implementation svn-id: r32996 --- engines/lure/fights.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lure/fights.cpp') 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: -- cgit v1.2.3