aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-29 13:08:25 +0000
committerTravis Howell2005-05-29 13:08:25 +0000
commit93731f3c4bc5791e94d9aab041b1deb1045c9a3c (patch)
tree37b0ed78fc89f8bc5eaf56f8a7c1d38340e9f56e /scumm/script_v7he.cpp
parentdbba8d7318fea5acf030f3b49b8f2f07c5ab9afe (diff)
downloadscummvm-rg350-93731f3c4bc5791e94d9aab041b1deb1045c9a3c.tar.gz
scummvm-rg350-93731f3c4bc5791e94d9aab041b1deb1045c9a3c.tar.bz2
scummvm-rg350-93731f3c4bc5791e94d9aab041b1deb1045c9a3c.zip
resourceMapper isn't used in HE72+ games.
svn-id: r18291
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index d4e5907cf8..7d176c90c7 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -563,7 +563,7 @@ void ScummEngine_v70he::o70_resourceRoutines() {
break;
case 111: // SO_LOCK_ROOM
resid = pop();
- if (resid > 0x7F)
+ if (_heversion <= 71 && resid > 0x7F)
resid = _resourceMapper[resid & 0x7F];
res.lock(rtRoom, resid);
res.lock(rtRoomImage, resid);
@@ -584,7 +584,7 @@ void ScummEngine_v70he::o70_resourceRoutines() {
break;
case 115: // SO_UNLOCK_ROOM
resid = pop();
- if (resid > 0x7F)
+ if (_heversion <= 71 && resid > 0x7F)
resid = _resourceMapper[resid & 0x7F];
res.unlock(rtRoom, resid);
res.unlock(rtRoomImage, resid);