aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-01-03 06:38:34 +0000
committerTravis Howell2004-01-03 06:38:34 +0000
commit74f958fdf141dfb08d076e5aadc82b917ddd1c22 (patch)
treea396b71d621664d8177c402aa870d18e07913220 /scumm/actor.cpp
parent8d9d0fed3f92a1ad930dde47f40d6bc0df76a2cf (diff)
downloadscummvm-rg350-74f958fdf141dfb08d076e5aadc82b917ddd1c22.tar.gz
scummvm-rg350-74f958fdf141dfb08d076e5aadc82b917ddd1c22.tar.bz2
scummvm-rg350-74f958fdf141dfb08d076e5aadc82b917ddd1c22.zip
Should be enabled for all GF_NEW_COSTUMES games.
Fixes missing actors in craters section of puttmoon svn-id: r12105
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index df417931e1..87f88807e9 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1201,7 +1201,7 @@ void Actor::setActorCostume(int c) {
costumeNeedsInit = true;
- if (_vm->_version >= 7) {
+ if (_vm->_features & GF_NEW_COSTUMES) {
cost.reset();
memset(animVariable, 0, sizeof(animVariable));
costume = c;