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.
master
Peter Nelson 2 months ago committed by GitHub
parent df3e5ade11
commit d11622b9a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1186,6 +1186,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