diff options
author | Johannes Schickel | 2005-12-22 01:49:59 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-22 01:49:59 +0000 |
commit | d468c48bdaafcd15cc808115ecc9991d11f44c76 (patch) | |
tree | 729b79073457ea0ad89b18e2e9a9a159683062a3 /kyra/script_v1.cpp | |
parent | ca03d5a3e4804aa011911349ceb68737092824e5 (diff) | |
download | scummvm-rg350-d468c48bdaafcd15cc808115ecc9991d11f44c76.tar.gz scummvm-rg350-d468c48bdaafcd15cc808115ecc9991d11f44c76.tar.bz2 scummvm-rg350-d468c48bdaafcd15cc808115ecc9991d11f44c76.zip |
Fixed bug with an endless loop while clicking on herman after giving him the saw.
svn-id: r19827
Diffstat (limited to 'kyra/script_v1.cpp')
-rw-r--r-- | kyra/script_v1.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 6ed617a0ea..0a8b897ea9 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -1003,17 +1003,20 @@ int KyraEngine::cmd_changeCharactersXAndY(ScriptState *script) { } int KyraEngine::cmd_clearSceneAnimatorBeacon(ScriptState *script) { - warning("STUB: cmd_clearSceneAnimatorBeacon"); + debug(3, "cmd_clearSceneAnimatorBeacon(0x%X) ()"); + _sprites->_sceneAnimatorBeaconFlag = 0; return 0; } int KyraEngine::cmd_querySceneAnimatorBeacon(ScriptState *script) { - warning("STUB: cmd_querySceneAnimatorBeacon"); - return 0; + debug(3, "cmd_querySceneAnimatorBeacon(0x%X) ()"); + return _sprites->_sceneAnimatorBeaconFlag; } int KyraEngine::cmd_refreshSceneAnimator(ScriptState *script) { - warning("STUB: cmd_refreshSceneAnimator"); + debug(3, "cmd_refreshSceneAnimator(0x%X) ()"); + _sprites->updateSceneAnims(); + updateAllObjectShapes(); return 0; } |