aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJames Brown2002-10-02 13:25:06 +0000
committerJames Brown2002-10-02 13:25:06 +0000
commit312ff210818fc6139e61118a7939e6fa444bfeab (patch)
tree9d83514e62487da980afc81f4d28048c7d475788 /scumm
parentb7e83decd7b02ce783c3f5a6f8c2075af4851e19 (diff)
downloadscummvm-rg350-312ff210818fc6139e61118a7939e6fa444bfeab.tar.gz
scummvm-rg350-312ff210818fc6139e61118a7939e6fa444bfeab.tar.bz2
scummvm-rg350-312ff210818fc6139e61118a7939e6fa444bfeab.zip
Fix "ripburger attacks Malcom" cutscene, by disabling pseudoRooms for V7 games.
They arn't used in FT at least, so I'm going to assume this could also fix the Dig. svn-id: r5073
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp2
-rw-r--r--scumm/scummvm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index b000c355be..05d6cdd5a0 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -470,7 +470,7 @@ void Scumm::ensureResourceLoaded(int type, int i)
debug(9, "ensureResourceLoaded(%s,%d)", resTypeFromId(type), i);
- if (type == rtRoom && i > 127) {
+ if (type == rtRoom && i > 127 && !(_features & GF_AFTER_V7)) {
i = _resourceMapper[i & 127];
}
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index f071bdcce0..656ccec7ed 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -578,7 +578,7 @@ void Scumm::startScene(int room, Actor * a, int objectNr)
_currentRoom = room;
_vars[VAR_ROOM] = room;
- if (room >= 0x80)
+ if (room >= 0x80 && !(_features & GF_AFTER_V7))
_roomResource = _resourceMapper[room & 0x7F];
else
_roomResource = room;