aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 129d6dc7ee..0e81f7062a 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->_gameId = GID_SAMNMAX && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
+ if (_vm->_gameId == GID_SAMNMAX && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
return;
boxscale = _vm->getBoxScale(walkbox);