aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6he.cpp')
-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);