diff options
author | Johannes Schickel | 2005-12-31 15:41:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-31 15:41:37 +0000 |
commit | a10097eaa41357beb2dc4be4f790717fe9fe70a3 (patch) | |
tree | 8c7fb60b2764b8b0b0e58ac665bbd3c374241514 /kyra/script_v1.cpp | |
parent | 5afaad7869a252cabde3f8ec24957ca1e7c1684a (diff) | |
download | scummvm-rg350-a10097eaa41357beb2dc4be4f790717fe9fe70a3.tar.gz scummvm-rg350-a10097eaa41357beb2dc4be4f790717fe9fe70a3.tar.bz2 scummvm-rg350-a10097eaa41357beb2dc4be4f790717fe9fe70a3.zip |
Commited patches 1394374 and 1394374 with minor changes.
Thanks to clemmy for that.
svn-id: r19870
Diffstat (limited to 'kyra/script_v1.cpp')
-rw-r--r-- | kyra/script_v1.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 1cbb354028..8a28ad6837 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -1702,13 +1702,14 @@ int KyraEngine::cmd_itemOnGroundHere(ScriptState *script) { } int KyraEngine::cmd_queryCauldronState(ScriptState *script) { - warning("STUB: cmd_queryCauldronState"); - return 0; + debug(3, "cmd_queryCauldronState(0x%X) ()", script); + return _cauldronState; } int KyraEngine::cmd_setCauldronState(ScriptState *script) { - warning("STUB: cmd_setCauldronState"); - return 0; + debug(3, "cmd_setCauldronState(0x%X) (%d)", script, stackPos(0)); + _cauldronState = stackPos(0); + return _cauldronState; } int KyraEngine::cmd_queryCrystalState(ScriptState *script) { |