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.
This commit is contained in:
Peter Nelson 2024-04-05 08:17:42 +01:00 committed by GitHub
parent df3e5ade11
commit d11622b9a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {