aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/fights.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/fights.cpp')
-rw-r--r--engines/lure/fights.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/fights.cpp b/engines/lure/fights.cpp
index 51fce850e6..6ff7339c02 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.shouldQuit() && (playerFight.fwhits != GENERAL_MAGIC_ID)) {
checkEvents();
if (g_system->getMillis() > timerVal + GAME_FRAME_DELAY) {