diff -r e6d057d90fce -r 2bfbade143ac src/train_cmd.cpp --- a/src/train_cmd.cpp Tue Feb 13 15:44:37 2007 +0000 +++ b/src/train_cmd.cpp Tue Feb 13 16:36:38 2007 +0000 @@ -356,7 +356,7 @@ 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;