diff options
author | Travis Howell | 2005-05-29 13:08:25 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-29 13:08:25 +0000 |
commit | 93731f3c4bc5791e94d9aab041b1deb1045c9a3c (patch) | |
tree | 37b0ed78fc89f8bc5eaf56f8a7c1d38340e9f56e /scumm/script_v7he.cpp | |
parent | dbba8d7318fea5acf030f3b49b8f2f07c5ab9afe (diff) | |
download | scummvm-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.cpp | 4 |
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); |