aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-05-06 01:20:09 +0000
committerJonathan Gray2003-05-06 01:20:09 +0000
commit5a735f825d059c21849fc9884549cd2a57b527cd (patch)
tree513f6593652af4e41ad203c95849569dbc9d893d
parent1ba420a9e24d8e3db620dcb1b8d6b78d8ccf9f9f (diff)
downloadscummvm-rg350-5a735f825d059c21849fc9884549cd2a57b527cd.tar.gz
scummvm-rg350-5a735f825d059c21849fc9884549cd2a57b527cd.tar.bz2
scummvm-rg350-5a735f825d059c21849fc9884549cd2a57b527cd.zip
can get up to zak sleeping bit now...
svn-id: r7363
-rw-r--r--scumm/script_v2.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 3f74a8d6fa..71e3cbfaf0 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -719,10 +719,14 @@ void Scumm_v2::o2_resourceRoutines() {
unlock(rtRoom, resid);
return;
default:
- error("o2_resourceRoutines: unknown lock/unlock opcode");
+ error("o2_resourceRoutines: unknown lock/unlock opcode %d", (opcode & 0xF1));
}
} else {
switch (opcode & 0xf1) {
+ // FIXME why is this case happening?
+ case 0:
+ warning("o2_resourceRoutines: unknown lock/unlock opcode 0");
+ return;
case 96:
case 80:
case 32:
@@ -741,7 +745,7 @@ void Scumm_v2::o2_resourceRoutines() {
ensureResourceLoaded(rtRoom, resid);
return;
default:
- error("o2_resourceRoutines: unknown load/nuke opcode");
+ error("o2_resourceRoutines: unknown load/nuke opcode %d", (opcode & 0xF1));
}
}
}