aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-01 15:52:18 +0100
committerMartin Kiewitz2016-02-01 15:52:18 +0100
commit896bf83ddc54d69e81830ee767d24fe9dbbc053f (patch)
tree7f13b98c47e689efc9da3626acc90d81d33ccc02 /engines/agi
parent0b17a67a30a48ffed7b4fe0c34854baad45492fa (diff)
downloadscummvm-rg350-896bf83ddc54d69e81830ee767d24fe9dbbc053f.tar.gz
scummvm-rg350-896bf83ddc54d69e81830ee767d24fe9dbbc053f.tar.bz2
scummvm-rg350-896bf83ddc54d69e81830ee767d24fe9dbbc053f.zip
AGI: Fix pause command effectively freezing game
In game timer wasn't resumed, which caused no more cycles to get executed.
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/op_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index f36090dafa..2757807ed4 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1793,7 +1793,7 @@ void cmdPause(AgiGame *state, uint8 *parameter) {
state->_vm->_systemUI->pauseDialog();
- vm->inGameTimerPause();
+ vm->inGameTimerResume();
state->clockEnabled = originalClockState;
}
}