From 26d8b2bb727376bdd5fb93f74b2595edcedc087d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 6 Jun 2009 17:40:56 +0000 Subject: Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original" svn-id: r41243 --- engines/agi/keyboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agi/keyboard.cpp') 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) -- cgit v1.2.3