Partial fix for https://github.com/OpenTTD/OpenTTD/issues/8437
(Part 2: helicopter landings)
This commit is contained in:
@@ -963,6 +963,12 @@ static bool AircraftController(Aircraft *v)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (st->airport.type != AT_OILRIG) {
|
||||||
|
x = v->x_pos;
|
||||||
|
y = v->y_pos;
|
||||||
|
tile = TileVirtXY(x, y);
|
||||||
|
}
|
||||||
|
|
||||||
/* Vehicle is now at the airport. */
|
/* Vehicle is now at the airport. */
|
||||||
v->tile = tile;
|
v->tile = tile;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user