mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
An actor is completely reset by showActor() in SCUMM1-2 games. Fixes bug #902391
svn-id: r21283
This commit is contained in:
parent
53c5b8cf47
commit
4f10a71b98
@ -810,18 +810,17 @@ void Actor::showActor() {
|
||||
|
||||
_vm->ensureResourceLoaded(rtCostume, _costume);
|
||||
|
||||
if (_costumeNeedsInit) {
|
||||
startAnimActor(_initFrame);
|
||||
if (_vm->_game.version <= 2) {
|
||||
startAnimActor(_standFrame);
|
||||
startAnimActor(_talkStopFrame);
|
||||
}
|
||||
_costumeNeedsInit = false;
|
||||
}
|
||||
|
||||
// FIXME: Evil hack to work around bug #770717
|
||||
if (!_moving && _vm->_game.version <= 2)
|
||||
if (_vm->_game.version <= 2) {
|
||||
_cost.reset();
|
||||
startAnimActor(_standFrame);
|
||||
startAnimActor(_initFrame);
|
||||
startAnimActor(_talkStopFrame);
|
||||
} else {
|
||||
if (_costumeNeedsInit) {
|
||||
startAnimActor(_initFrame);
|
||||
_costumeNeedsInit = false;
|
||||
}
|
||||
}
|
||||
|
||||
stopActorMoving();
|
||||
_visible = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user