aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-09-26 00:56:10 +0300
committerFilippos Karapetis2011-09-26 00:56:10 +0300
commit81fdf2c10306fa8d449476f6c77afb8299b93f4d (patch)
treee2d2eaee87f943740ad32c6431b0c7ec18fd25c1 /engines/agi/cycle.cpp
parentbd6a05bdd4e71548aadc2c846b6ab16d4d486a2e (diff)
downloadscummvm-rg350-81fdf2c10306fa8d449476f6c77afb8299b93f4d.tar.gz
scummvm-rg350-81fdf2c10306fa8d449476f6c77afb8299b93f4d.tar.bz2
scummvm-rg350-81fdf2c10306fa8d449476f6c77afb8299b93f4d.zip
AGI: Fixed bug #3074570 - "AGI LSL1: TAB stops working after restart"
Applied eriktorbjorn's patch from that bug tracker item (slightly modified), which is what NAGI does, and which fixes restarting in LSL1 and PQ1 (bug #2823762), and other AGI games that do not reset the controller keys when restarting.
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index e6f122f9f6..9cbab1f3c4 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -384,7 +384,6 @@ int AgiEngine::runGame() {
if (_restartGame) {
setflag(fRestartGame, true);
- _game.lastController = 0;
setvar(vTimeDelay, 2); // "normal" speed
_restartGame = false;
}