aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
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) {