aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/timer.cpp')
-rw-r--r--engines/sci/sfx/timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sfx/timer.cpp b/engines/sci/sfx/timer.cpp
index d58de323cd..334c0e5155 100644
--- a/engines/sci/sfx/timer.cpp
+++ b/engines/sci/sfx/timer.cpp
@@ -63,6 +63,7 @@ int scummvm_timer_start(void (*func)(void *), void *data) {
}
int scummvm_timer_stop() {
+ ::g_engine->getTimerManager()->removeTimerProc(&scummvm_timer_update_internal);
scummvm_timer_callback = NULL;
return SFX_OK;
}