diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/actor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index d616844ce6..0b9766cb1b 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -448,14 +448,13 @@ void Actor::startAnimActor(int f) { break; } - frame = f; - if (costume != 0) { animProgress = 0; needRedraw = true; if (f == initFrame) cost.reset(); _vm->akos_decodeData(this, f, (uint) - 1); + frame = f; } } else { switch (f) { @@ -477,7 +476,6 @@ void Actor::startAnimActor(int f) { } assert(f != 0x3E); - frame = f; if (isInCurrentRoom() && costume != 0) { animProgress = 0; @@ -491,6 +489,7 @@ void Actor::startAnimActor(int f) { _vm->akos_decodeData(this, f, (uint) - 1); else _vm->cost_decodeData(this, f, (uint) - 1); + frame = f; } } } |