aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-08-17 12:47:03 +0000
committerTravis Howell2004-08-17 12:47:03 +0000
commitbb00a8b7bca7d7a8287704191af959aa894983cb (patch)
tree28bbe3c80506b1a61776b5cefa525577bd2157cd /scumm
parentbf7eae79327a63342dbb50288526d807cf1056c3 (diff)
downloadscummvm-rg350-bb00a8b7bca7d7a8287704191af959aa894983cb.tar.gz
scummvm-rg350-bb00a8b7bca7d7a8287704191af959aa894983cb.tar.bz2
scummvm-rg350-bb00a8b7bca7d7a8287704191af959aa894983cb.zip
This check is Sam & Max specific, doesn't exist in other games.
svn-id: r14636
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);