aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2004-03-27 18:22:36 +0000
committerMax Horn2004-03-27 18:22:36 +0000
commitc33712e3d6b41442bd65e3f51c52e278a521bb08 (patch)
tree35857742e0535a6d51cf0fcb52b6236008353e06 /common
parent097488729038c75caf9c885177c0b73a3d84065c (diff)
downloadscummvm-rg350-c33712e3d6b41442bd65e3f51c52e278a521bb08.tar.gz
scummvm-rg350-c33712e3d6b41442bd65e3f51c52e278a521bb08.tar.bz2
scummvm-rg350-c33712e3d6b41442bd65e3f51c52e278a521bb08.zip
small tweak
svn-id: r13390
Diffstat (limited to 'common')
-rw-r--r--common/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index 88ac735f7e..1655a2770c 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -129,7 +129,7 @@ void Timer::removeTimerProc(TimerProc procedure) {
if (_timerSlots[l].procedure == procedure) {
_timerSlots[l].procedure = 0;
_timerSlots[l].interval = 0;
- _timerSlots[l].counter = 0;
+ _timerSlots[l].counter = 1; // Work around a problem when a timer proc removes itself
_timerSlots[l].refCon = 0;
}
}