diff options
Diffstat (limited to 'engines/agi/keyboard.cpp')
-rw-r--r-- | engines/agi/keyboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index b498466442..bc30224918 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -385,7 +385,7 @@ int AgiEngine::waitKey() { } debugC(3, kDebugLevelInput, "waiting..."); - while (!(shouldQuit() || restartGame || getflag(fRestoreJustRan))) { + while (!(shouldQuit() || _restartGame || getflag(fRestoreJustRan))) { _gfx->pollTimer(); // msdos driver -> does nothing key = doPollKeyboard(); if (key == KEY_ENTER || key == KEY_ESCAPE || key == BUTTON_LEFT) @@ -408,7 +408,7 @@ int AgiEngine::waitAnyKey() { } debugC(3, kDebugLevelInput, "waiting... (any key)"); - while (!(shouldQuit() || restartGame)) { + while (!(shouldQuit() || _restartGame)) { _gfx->pollTimer(); // msdos driver -> does nothing key = doPollKeyboard(); if (key) |