diff options
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 1787f44f1f..9b6c9dd5bc 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1217,11 +1217,11 @@ void Actor::setActorCostume(int c) { costumeNeedsInit = true; if (_vm->_features & GF_NEW_COSTUMES) { - cost.reset(); memset(animVariable, 0, sizeof(animVariable)); - costume = c; if (visible) { + cost.reset(); + costume = c; if (costume) { _vm->ensureResourceLoaded(rtCostume, costume); } |