diff options
-rw-r--r-- | script_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index b8b62b3c4a..a2114d8eb6 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -1299,7 +1299,7 @@ void Scumm::o5_getObjectOwner() { void Scumm::o5_getObjectState() { if(_features & GF_SMALL_HEADER) { - if((getState(getVarOrDirectWord(0x80)) &0x0F >>4) != (int)getVarOrDirectByte(0x40)) + if((getState(getVarOrDirectWord(0x80)) &0xF0 >>4) != (int)getVarOrDirectByte(0x40)) o5_jumpRelative(); else ignoreScriptWord(); |