aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-03-02 10:53:14 +0000
committerTravis Howell2005-03-02 10:53:14 +0000
commit9f364eaf6503ac5f0fff6f06967b83b84e2e5c5d (patch)
tree90a2dcaee866dcc4674dbe5b35f0d8a8873dde83
parente9136021001992fec4aad97975433daaceb4e242 (diff)
downloadscummvm-rg350-9f364eaf6503ac5f0fff6f06967b83b84e2e5c5d.tar.gz
scummvm-rg350-9f364eaf6503ac5f0fff6f06967b83b84e2e5c5d.tar.bz2
scummvm-rg350-9f364eaf6503ac5f0fff6f06967b83b84e2e5c5d.zip
Add dummy case used in airport
svn-id: r16971
-rw-r--r--scumm/script_v7he.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 9549084f12..ac14ae37c0 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -689,6 +689,9 @@ void ScummEngine_v70he::o70_resourceRoutines() {
resid = pop();
debug(5,"stub o70_resourceRoutines unlock object %d", resid);
break;
+ case 239:
+ // Used in airport
+ break;
default:
debug(1,"o70_resourceRoutines: default case %d", op);
}
@@ -902,7 +905,7 @@ void ScummEngine_v70he::o70_compareString() {
while(1) {
if (*addr != *addr2)
break;
- if (*addr == 0) {
+ if (*addr2 == 0) {
push(0);
return;
}
@@ -912,14 +915,13 @@ void ScummEngine_v70he::o70_compareString() {
if (*addr != *addr2)
break;
- if (*addr == 0) {
+ if (*addr2 == 0) {
push(0);
return;
}
addr++;
addr2++;
- i += 2;
}
push (i);