aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/actor.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 9b6c9dd5bc..659d071e17 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1217,18 +1217,14 @@ 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);
}
- startAnimActor(initFrame);
- } else {
- costume = c;
- cost.reset();
}
} else {
if (visible) {