FT: Animation glitch at the fuel tower
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
The animation of the hover-whatever at the fuel tower is glitchy in the latest CVS, and has been for as long as I can remember. Since I tried - unsuccessfully - to fix it once, long ago, I already know more or less what causes the problem:
The hover-whatever changes costume in mid-landing. Since the actor is clearly visible, setActorCostume() will hide the actor, reset the costume, and then show the actor again. (I don't know why it does this, but removing the hide/show lines caused glitches when I tried it.)
The showActor() function will call adjustActorPos(), which is what will cause the hover-whatever to move almost out of the picture. (Removing the call to adjustActorPos() will cause crashes, so that's not a good idea either.)
I'm not sure how to fix this properly. Maybe adjustActorPos() shouldn't be called when costumeNeedsInit is true?
Ticket imported from: #749970. Ticket imported from: bugs/849.