mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
... and so we are back at precisely my original code, wasn't it fun? :-)
svn-id: r12367
This commit is contained in:
parent
05b9f4ddf6
commit
e3a28ad4b7
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user