diff options
-rw-r--r-- | engines/kyra/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp index 2df37121b9..49a66e537f 100644 --- a/engines/kyra/script_v2.cpp +++ b/engines/kyra/script_v2.cpp @@ -689,7 +689,7 @@ int KyraEngine_v2::o2_setCountDown(ScriptState *script) { int KyraEngine_v2::o2_getCountDown(ScriptState *script) { debugC(3, kDebugLevelScriptFuncs, "o2_getCountDown(%p)", (const void *)script); uint32 time = _system->getMillis(); - return (time > _scriptCountDown) ? 0 : _scriptCountDown - time; + return (time > _scriptCountDown) ? 0 : (_scriptCountDown - time) / _tickLength; } int KyraEngine_v2::o2_objectChat(ScriptState *script) { |