diff options
author | Jonathan Gray | 2003-04-22 00:09:07 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-04-22 00:09:07 +0000 |
commit | b3ac1bf20e1ff6bdce327f9f5016554e8be3963b (patch) | |
tree | 08764e6ac204bced43c3150e554be96345c7b428 | |
parent | 83684226c0d4ee56dd87fcd4cce127880ecaea31 (diff) | |
download | scummvm-rg350-b3ac1bf20e1ff6bdce327f9f5016554e8be3963b.tar.gz scummvm-rg350-b3ac1bf20e1ff6bdce327f9f5016554e8be3963b.tar.bz2 scummvm-rg350-b3ac1bf20e1ff6bdce327f9f5016554e8be3963b.zip |
fix setState for humongous games
svn-id: r7070
-rw-r--r-- | scumm/script_v6.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index ceab5368d8..ebd29c8aa9 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -890,6 +890,11 @@ void Scumm_v6::o6_setState() { int state = pop(); int obj = pop(); + if ((_features & GF_HUMONGOUS) && (state & 0x8000)) { + state = state & 0x7F00; + putState(obj, state); + return; + } // debug(1, "setState(%d,%d)", obj, state); putState(obj, state); |