diff options
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r-- | engines/agos/agos.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 97d84e036c..3968646e63 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -951,7 +951,7 @@ void AGOSEngine::pauseEngineIntern(bool pauseIt) { void AGOSEngine::pause() { pauseEngine(true); - while (_pause && !quit()) { + while (_pause && !shouldQuit()) { delay(1); if (_keyPressed.keycode == Common::KEYCODE_p) pauseEngine(false); @@ -988,7 +988,7 @@ int AGOSEngine::go() { (getFeatures() & GF_DEMO)) { int i; - while (!quit()) { + while (!shouldQuit()) { for (i = 0; i < 4; i++) { setWindowImage(3, 9902 + i); debug(0, "Displaying image %d", 9902 + i); @@ -1017,7 +1017,7 @@ int AGOSEngine::go() { runSubroutine101(); permitInput(); - while (!quit()) { + while (!shouldQuit()) { waitForInput(); handleVerbClicked(_verbHitArea); delay(100); @@ -1074,7 +1074,7 @@ void AGOSEngine::shutdown() { delete _moviePlay; delete _sound; - _system->quit(); + _system->shouldQuit(); } */ |