Missed one spot, needed for costume reset too.
svn-id: r15181
This commit is contained in:
parent
1475b5ad0d
commit
8a42691d87
1 changed files with 4 additions and 1 deletions
|
@ -492,8 +492,10 @@ void Actor::startAnimActor(int f) {
|
||||||
needRedraw = true;
|
needRedraw = true;
|
||||||
// V1 - V2 games don't seem to need a cost.reset() at this point.
|
// V1 - V2 games don't seem to need a cost.reset() at this point.
|
||||||
// Causes Zak to lose his body in several scenes, see bug #771508
|
// Causes Zak to lose his body in several scenes, see bug #771508
|
||||||
if (_vm->_version >= 3 && f == initFrame)
|
if (_vm->_version >= 3 && f == initFrame) {
|
||||||
cost.reset();
|
cost.reset();
|
||||||
|
auxBlock.visible = false;
|
||||||
|
}
|
||||||
if (_vm->_features & GF_NEW_COSTUMES)
|
if (_vm->_features & GF_NEW_COSTUMES)
|
||||||
_vm->akos_decodeData(this, f, (uint) - 1);
|
_vm->akos_decodeData(this, f, (uint) - 1);
|
||||||
else
|
else
|
||||||
|
@ -1358,6 +1360,7 @@ void Actor::setActorCostume(int c) {
|
||||||
|
|
||||||
if (_vm->_features & GF_NEW_COSTUMES) {
|
if (_vm->_features & GF_NEW_COSTUMES) {
|
||||||
cost.reset();
|
cost.reset();
|
||||||
|
auxBlock.visible = false;
|
||||||
memset(animVariable, 0, sizeof(animVariable));
|
memset(animVariable, 0, sizeof(animVariable));
|
||||||
costume = c;
|
costume = c;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue