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 862569574f..5690bf6d61 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -572,7 +572,7 @@ void Actor::setDirection(int direction) {
if (_vm->_features & GF_NEW_COSTUMES)
_vm->akos_decodeData(this, vald, aMask);
else
- _vm->cost_decodeData(this, vald, aMask);
+ _vm->cost_decodeData(this, vald, (_vm->_version <= 2) ? 0xFFFF : aMask);
}
needRedraw = true;