Fix #12114: Viewport coords of crashed aircraft not updated when falling. (#12424)

This results in the aircraft glitching as the wrong viewport area is drawn.

(cherry picked from commit d11622b9a0030ea7c387c78c913e284754f17b5c)
pull/684/head
Peter Nelson 4 weeks ago committed by Jonathan G Rennison
parent 89e3b009c3
commit df03366cf5

@ -1273,6 +1273,7 @@ static bool HandleCrashedAircraft(Aircraft *v)
v->crashed_counter = 500;
v->z_pos++;
}
SetAircraftPosition(v, v->x_pos, v->y_pos, v->z_pos);
}
if (v->crashed_counter < 650) {

Loading…
Cancel
Save