aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2005-12-09 23:48:52 +0000
committerJohannes Schickel2005-12-09 23:48:52 +0000
commitfe80cf4f99319322394706d19149e6ce512e13f2 (patch)
tree9283fdc64f5c50f4f5f5ee705e4712a81ba84c77 /kyra/kyra.cpp
parent5cdf1bb621f51d47c0536004335481892641c509 (diff)
downloadscummvm-rg350-fe80cf4f99319322394706d19149e6ce512e13f2.tar.gz
scummvm-rg350-fe80cf4f99319322394706d19149e6ce512e13f2.tar.bz2
scummvm-rg350-fe80cf4f99319322394706d19149e6ce512e13f2.zip
Changed use of setTimerCountdown to new implemented setTimerDelay.
svn-id: r19771
Diffstat (limited to 'kyra/kyra.cpp')
-rw-r--r--kyra/kyra.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp
index b83c9d5c86..daa7e28a3d 100644
--- a/kyra/kyra.cpp
+++ b/kyra/kyra.cpp
@@ -4436,6 +4436,11 @@ void KyraEngine::clearNextEventTickCount() {
_timerNextRun = 0;
}
+void KyraEngine::setTimerDelay(uint8 timer, int32 countdown) {
+ debug(9, "setTimerDelay(%i, %d)", timer, countdown);
+ _timers[timer].countdown = countdown;
+}
+
int16 KyraEngine::getTimerDelay(uint8 timer) {
debug(9, "getTimerDelay(%i)", timer);
return _timers[timer].countdown;