SCUMM: Maniac V0: If boxes are neighbors, walk directly to the new box. Remove extra call to 'animateCostume'. Remove now unnecessary V0 walk calc functions

This commit is contained in:
Robert Crossfield 2014-11-29 07:12:57 +11:00
parent 2dbd99d572
commit 29d46e8a10
6 changed files with 92 additions and 175 deletions

View file

@ -589,9 +589,9 @@ void ScummEngine_v0::o_loadRoomWithEgo() {
return;
}
// The original interpreter seems to set the actors new room X/Y to the last rooms X/Y
// This fixes a problem with MM: script 158 in room 12, the 'Oompf!' script
// This scripts runs before the actor position is set to the correct location
// The original interpreter sets the actors new room X/Y to the last rooms X/Y
// This fixes a problem with MM: script 158 in room 12, the 'Oomph!' script
// This scripts runs before the actor position is set to the correct room entry location
a->putActor(a->getPos().x, a->getPos().y, room);
_egoPositioned = false;
@ -707,7 +707,6 @@ void ScummEngine_v0::o_animateActor() {
}
a->animateActor(anim);
a->animateCostume();
}
void ScummEngine_v0::o_getActorMoving() {