aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2013-11-24 22:50:11 -0500
committerMatthew Hoops2013-11-24 22:53:55 -0500
commitbb2b1c8dfe4bdf7b54f7a704bfb632e3671f4da4 (patch)
tree41d11165ac0dd27d7233bcbdb07e187c1b197786
parentc26ed6505f4a3c12c082473a1ebaaabd32d40a88 (diff)
downloadscummvm-rg350-bb2b1c8dfe4bdf7b54f7a704bfb632e3671f4da4.tar.gz
scummvm-rg350-bb2b1c8dfe4bdf7b54f7a704bfb632e3671f4da4.tar.bz2
scummvm-rg350-bb2b1c8dfe4bdf7b54f7a704bfb632e3671f4da4.zip
PEGASUS: Reset the callback trigger in disposeCallBack()
Fixes the occasional "loop" when finishing the space chase. Thanks to blitter for actually being able to trigger and debug the damned problem
-rw-r--r--engines/pegasus/timers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/pegasus/timers.cpp b/engines/pegasus/timers.cpp
index 8463d866e8..5fb2551e7a 100644
--- a/engines/pegasus/timers.cpp
+++ b/engines/pegasus/timers.cpp
@@ -333,6 +333,7 @@ void TimeBaseCallBack::releaseCallBack() {
void TimeBaseCallBack::disposeCallBack() {
_timeBase = 0;
+ _trigger = kTriggerNone;
_hasBeenTriggered = false;
}