src/rail_cmd.cpp
changeset 10321 4a43d5022b7f
parent 10313 57bba78128d2
child 10322 1a2a97853c0c
--- a/src/rail_cmd.cpp	Tue Nov 04 18:44:15 2008 +0000
+++ b/src/rail_cmd.cpp	Fri Nov 07 17:59:51 2008 +0000
@@ -2108,6 +2108,8 @@
 	RailGroundType old_ground = GetRailGroundType(tile);
 	RailGroundType new_ground;
 
+	UpdateStat(tile, !EnsureNoVehicleOnGround(tile));
+
 	if (old_ground == RAIL_GROUND_WATER) {
 		TileLoop_Water(tile);
 		return;