aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/keyboard.cpp')
-rw-r--r--engines/agi/keyboard.cpp9
1 files changed, 0 insertions, 9 deletions
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;
}