@@ -356,7 +356,7 @@ static int GetTrainAcceleration(Vehicle
if (IsTileType(v->tile, MP_STATION) && IsFrontEngine(v)) {
if (TrainShouldStop(v, v->tile)) {
int station_length = GetPlatformLength(v->tile, DirToDiagDir(v->direction));
int station_length = GetStationByTile(v->tile)->GetPlatformLength(v->tile, DirToDiagDir(v->direction));
int delta_v;
max_speed = 120;