aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v5.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 6d40de6bc9..f72d37a9ee 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1820,9 +1820,7 @@ void ScummEngine_v5::o5_resourceRoutines() {
break;
default:
- // FIXME: Reverted to a warning from an error, as per
- // zak256 bug #1290485. This is not a proper fix. :)
- warning("o5_resourceRoutines: default case %d", op);
+ error("o5_resourceRoutines: default case %d", op);
}
}
@@ -2265,6 +2263,11 @@ void ScummEngine_v5::o5_startScript() {
getWordVararg(data);
+ // FIXME: Script 171 loads a complete room resource, instead of the actual script.
+ // Causing invalid opcode cases, see bug #1290485
+ if (_gameId == GID_ZAK256 && script == 171)
+ return;
+
if (!_copyProtection) {
// Method used by original games to skip copy protection scheme
if (_gameId == GID_LOOM && _currentRoom == 69 && script == 201)