aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-09-11 03:02:37 +0000
committerTravis Howell2004-09-11 03:02:37 +0000
commite372b145b86d042fed9aa6c2f7a5022c235a658e (patch)
tree5efa80e164f4475e3d83fa9e32baec61d8d84c5e /scumm
parenta636f2ce9187f22245136627bf6bf65d937fa019 (diff)
downloadscummvm-rg350-e372b145b86d042fed9aa6c2f7a5022c235a658e.tar.gz
scummvm-rg350-e372b145b86d042fed9aa6c2f7a5022c235a658e.tar.bz2
scummvm-rg350-e372b145b86d042fed9aa6c2f7a5022c235a658e.zip
Correct object state.
svn-id: r15002
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index a581c1245f..6beec82fef 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -389,7 +389,7 @@ void ScummEngine_v6he::o6_setState() {
int obj = pop();
if (state & 0x8000) {
- state = state & 0x7F00;
+ state &= 0x7FFF;
putState(obj, state);
if (_heversion >= 72)
removeObjectFromDrawQue(obj);