aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-10-01 23:04:47 +0000
committerMax Horn2004-10-01 23:04:47 +0000
commite082cb05875e82bec9cb1436ba15bb7b54c14b05 (patch)
treeb82bfe4709411e78dc2a7b7dea1005ecddd5f6e5
parent71264fbc56b2e6b7004fadd83d4bada36f6591b7 (diff)
downloadscummvm-rg350-e082cb05875e82bec9cb1436ba15bb7b54c14b05.tar.gz
scummvm-rg350-e082cb05875e82bec9cb1436ba15bb7b54c14b05.tar.bz2
scummvm-rg350-e082cb05875e82bec9cb1436ba15bb7b54c14b05.zip
Fix for bug #902360 (MANIAC: Plant has no head if he has Pepsi before growing)
svn-id: r15374
-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;