diff options
Diffstat (limited to 'engines/scumm/he/script_v70he.cpp')
-rw-r--r-- | engines/scumm/he/script_v70he.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v70he.cpp b/engines/scumm/he/script_v70he.cpp index bd70845f67..3e71073f69 100644 --- a/engines/scumm/he/script_v70he.cpp +++ b/engines/scumm/he/script_v70he.cpp @@ -488,7 +488,7 @@ void ScummEngine_v70he::o70_pickupObject() { addObjectToInventory(obj, room); putOwner(obj, VAR(VAR_EGO)); - if (_heversion <= 70) { + if (_game.heversion <= 70) { putClass(obj, kObjectClassUntouchable, 1); putState(obj, 1); markObjectRectAsDirty(obj); @@ -563,7 +563,7 @@ void ScummEngine_v70he::o70_resourceRoutines() { break; case 111: // SO_LOCK_ROOM resid = pop(); - if (_heversion <= 71 && resid > 0x7F) + if (_game.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 (_heversion <= 71 && resid > 0x7F) + if (_game.heversion <= 71 && resid > 0x7F) resid = _resourceMapper[resid & 0x7F]; res.unlock(rtRoom, resid); res.unlock(rtRoomImage, resid); |