1
0
Fork 0

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

This results in the aircraft glitching as the wrong viewport area is drawn.
pull/12424/head
Peter Nelson 2024-04-04 23:51:56 +01:00
parent 7572cfd103
commit b289f48bc1
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 0 deletions

View File

@ -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) {