mirror of https://github.com/OpenTTD/OpenTTD
parent
122f23a470
commit
9ad50fff33
|
@ -1317,7 +1317,7 @@ static void CrashAirplane(Vehicle *v)
|
||||||
SetDParam(0, amt);
|
SetDParam(0, amt);
|
||||||
|
|
||||||
v->cargo_count = 0;
|
v->cargo_count = 0;
|
||||||
v->next->cargo_count = 0,
|
v->next->cargo_count = 0;
|
||||||
st = GetStation(v->u.air.targetairport);
|
st = GetStation(v->u.air.targetairport);
|
||||||
if (st->airport_tile == 0) {
|
if (st->airport_tile == 0) {
|
||||||
newsitem = STR_PLANE_CRASH_OUT_OF_FUEL;
|
newsitem = STR_PLANE_CRASH_OUT_OF_FUEL;
|
||||||
|
|
Loading…
Reference in New Issue