aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_v3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/timer_v3.cpp')
-rw-r--r--engines/kyra/timer_v3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/timer_v3.cpp b/engines/kyra/timer_v3.cpp
index 2211fc6337..4ce73ceaec 100644
--- a/engines/kyra/timer_v3.cpp
+++ b/engines/kyra/timer_v3.cpp
@@ -84,4 +84,9 @@ void KyraEngine_v3::setCommandLineRestoreTimer(int secs) {
_timer->setCountdown(0, secs*60);
}
+void KyraEngine_v3::setNextIdleAnimTimer() {
+ debugC(9, kDebugLevelMain | kDebugLevelTimer, "KyraEngine_v3::setNextIdleAnimTimer()");
+ _nextIdleAnim = _system->getMillis() + _rnd.getRandomNumberRng(10, 15) * 1000;
+}
+
} // end of namespace Kyra