From 8271058a4598e25096fe305f2c0beb7d2613e178 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 3 Feb 2016 01:32:57 +0100 Subject: AGI: Implement messageBox() as inner loop Also remove _game.keypress, _game.msgBoxTicks --- engines/agi/keyboard.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'engines/agi/keyboard.cpp') diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index a22f733cdf..dd850d92f8 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -549,11 +549,6 @@ int AgiEngine::waitKey() { g_system->updateScreen(); } - - // Have to clear it as original did not set this variable, and we do it in doPollKeyboard() - // Fixes bug #2823759 - _game.keypress = 0; - return key; } @@ -570,10 +565,6 @@ int AgiEngine::waitAnyKey() { break; g_system->updateScreen(); } - - // Have to clear it as original did not set this variable, and we do it in doPollKeyboard() - _game.keypress = 0; - return key; } -- cgit v1.2.3