File diff r5997:b5a74d8a12b8 → r5998:69c1cce26321
src/train_cmd.cpp
Show inline comments
 
@@ -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;