aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/cstime_cases.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/cstime_cases.cpp b/engines/mohawk/cstime_cases.cpp
index 4e36dca051..d75b29fbe0 100644
--- a/engines/mohawk/cstime_cases.cpp
+++ b/engines/mohawk/cstime_cases.cpp
@@ -89,6 +89,8 @@ bool CSTimeCase1::checkObjectCondition(uint16 objectId) {
return false;
else if (objectId == 8 && _vm->_caseVariable[3] != 2)
return false;
+ else if (objectId > 8)
+ return false;
break;
case 4: