aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index f11c7b966e..129d6dc7ee 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -419,7 +419,7 @@ void Actor::setupActorScale() {
// For some boxes, we ignore the scaling and use whatever values the
// scripts set. This is used e.g. in the Mystery Vortex in Sam&Max.
// Older games used the flag 0x20 differently, though.
- if (_vm->_version >= 6 && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
+ if (_vm->_gameId = GID_SAMNMAX && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
return;
boxscale = _vm->getBoxScale(walkbox);