From 9b160804ab8878b55efb032fb62ee359ab97f848 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 30 Sep 2008 12:27:38 +0000 Subject: Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700 --- engines/kyra/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/gui.cpp') diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index 6864bd9c4d..06d7f1783a 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -427,7 +427,7 @@ int MainMenu::handle(int dim) { Common::Rect menuRect(x + 16, y + 4, x + width - 16, y + 4 + fh * 4); - while (!_vm->quit()) { + while (!_vm->shouldQuit()) { updateAnimation(); bool mousePressed = getInput(); @@ -458,7 +458,7 @@ int MainMenu::handle(int dim) { _system->delayMillis(10); } - if (_vm->quit()) + if (_vm->shouldQuit()) command = -1; _screen->copyRegion(backUpX, backUpY, backUpX, backUpY, backUpWidth, backUpHeight, 3, 0); -- cgit v1.2.3