aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v80he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp
index 99de3ed62f..7241bab8a0 100644
--- a/scumm/script_v80he.cpp
+++ b/scumm/script_v80he.cpp
@@ -549,7 +549,7 @@ void ScummEngine_v80he::o80_setState() {
int state = pop();
int obj = pop();
- state = state & 0x7F00;
+ state &= 0x7FFF;
putState(obj, state);
removeObjectFromDrawQue(obj);
}