Better handle out of track and depot through load cases
Add advice messages for when loading is aborted due to out of track/depot Handle non-aligned use of platform Fix full-load behaviour Fix speed limiting whilst advancing
This commit is contained in:
@@ -3309,7 +3309,7 @@ static VehicleEnterTileStatus VehicleEnter_Station(Vehicle *v, TileIndex tile, i
|
||||
|
||||
int station_ahead;
|
||||
int station_length;
|
||||
int stop = GetTrainStopLocation(station_id, tile, Train::From(v), &station_ahead, &station_length);
|
||||
int stop = GetTrainStopLocation(station_id, tile, Train::From(v), &station_ahead, &station_length, x, y);
|
||||
|
||||
/* Stop whenever that amount of station ahead + the distance from the
|
||||
* begin of the platform to the stop location is longer than the length
|
||||
|
Reference in New Issue
Block a user