aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/object.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 1966e2fd67..d7420960e3 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -38,6 +38,8 @@ bool Scumm::getClass(int obj, int cls)
if (cls == 32) // CLASS_TOUCHABLE
cls = 24;
+ if (cls == 22)
+ cls = 21;
}
return (_classData[obj] & (1 << (cls - 1))) != 0;
}
@@ -55,6 +57,8 @@ void Scumm::putClass(int obj, int cls, bool set)
if (cls == 32) // CLASS_TOUCHABLE
cls = 24;
+ if (cls == 22)
+ cls = 21;
}
if (set)