diff options
author | Johannes Schickel | 2008-03-28 01:07:16 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-28 01:07:16 +0000 |
commit | 615a40d19cb7d2129c8176dc6456ee52c81c0d03 (patch) | |
tree | 6b02dfa8f7d529a4155d2bba1ed203a5722ebf26 | |
parent | c5929561babc66df862e5b0b15b14b9430433e65 (diff) | |
download | scummvm-rg350-615a40d19cb7d2129c8176dc6456ee52c81c0d03.tar.gz scummvm-rg350-615a40d19cb7d2129c8176dc6456ee52c81c0d03.tar.bz2 scummvm-rg350-615a40d19cb7d2129c8176dc6456ee52c81c0d03.zip |
Oops fixed wrong o2_delaySecs.
svn-id: r31283
-rw-r--r-- | engines/kyra/script_v2.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp index 4eb8f51535..3ab5bc6f14 100644 --- a/engines/kyra/script_v2.cpp +++ b/engines/kyra/script_v2.cpp @@ -614,13 +614,8 @@ int KyraEngine_v2::o2_getTimerDelay(ScriptState *script) { } int KyraEngine_v2::o2_delaySecs(ScriptState *script) { - debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_delaySecs(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1)); - if (stackPos(1)) - warning("unimplemented o2_delaySecs subfunction"); - //if (stackPos(1)) - // sub_27100(stackPos(0) * _tickLength); - //else - delay(stackPos(0) * 1000, true); + debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_delaySecs(%p) (%d)", (const void *)script, stackPos(0)); + delay(stackPos(0) * 1000, true); return 0; } |