aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-03-02 11:57:11 +0000
committerTravis Howell2005-03-02 11:57:11 +0000
commit3cd0ff763c258b1ef24546f263265558e1bf32ea (patch)
tree398b45f1436b5dcdc18887f5b756828703082838 /scumm
parent9f364eaf6503ac5f0fff6f06967b83b84e2e5c5d (diff)
downloadscummvm-rg350-3cd0ff763c258b1ef24546f263265558e1bf32ea.tar.gz
scummvm-rg350-3cd0ff763c258b1ef24546f263265558e1bf32ea.tar.bz2
scummvm-rg350-3cd0ff763c258b1ef24546f263265558e1bf32ea.zip
Fix room resource loading in Buzzy games.
svn-id: r16972
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 30d5eedef3..f2ced4a815 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -639,7 +639,7 @@ void ScummEngine::ensureResourceLoaded(int type, int i) {
debugC(DEBUG_RESOURCE, "ensureResourceLoaded(%s,%d)", resTypeFromId(type), i);
- if ((type == rtRoom) && i > 0x7F && _version < 7) {
+ if ((type == rtRoom) && i > 0x7F && _version < 7 && _heversion <= 71) {
i = _resourceMapper[i & 0x7F];
}
@@ -666,7 +666,7 @@ void ScummEngine::ensureResourceLoaded(int type, int i) {
loadResource(type, i);
if (_version == 5 && type == rtRoom && i == _roomResource)
- VAR(VAR_ROOM_FLAG) = 1;
+ VAR(VAR_ROOM_FLAG) = 1;
}
int ScummEngine::loadResource(int type, int idx) {