src/station_cmd.cpp
changeset 8043 08dcb2d81d9d
parent 8017 2ecf318068bb
child 8081 4fddceb00aa6
--- a/src/station_cmd.cpp	Sat Dec 08 18:53:49 2007 +0000
+++ b/src/station_cmd.cpp	Sat Dec 08 19:53:30 2007 +0000
@@ -1309,7 +1309,7 @@
 		VehicleFromPos(tile, &tile, UpdateTrainPowerProc);
 	}
 
-	return CommandCost(RailBuildCost(totype) / 2);
+	return CommandCost(RailConvertCost(GetRailType(tile), totype));
 }
 
 /**