mirror of https://github.com/OpenTTD/OpenTTD
This results in the aircraft glitching as the wrong viewport area is drawn.pull/12488/head
parent
eb730cb7f8
commit
bd6acf405b
|
@ -1186,6 +1186,7 @@ static bool HandleCrashedAircraft(Aircraft *v)
|
||||||
v->crashed_counter = 500;
|
v->crashed_counter = 500;
|
||||||
v->z_pos++;
|
v->z_pos++;
|
||||||
}
|
}
|
||||||
|
SetAircraftPosition(v, v->x_pos, v->y_pos, v->z_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v->crashed_counter < 650) {
|
if (v->crashed_counter < 650) {
|
||||||
|
|
Loading…
Reference in New Issue