diff options
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 3b3621c46..fa8a63817 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2108,6 +2108,8 @@ static void TileLoop_Track(TileIndex tile) RailGroundType old_ground = GetRailGroundType(tile); RailGroundType new_ground; + UpdateStat(tile, !EnsureNoVehicleOnGround(tile)); + if (old_ground == RAIL_GROUND_WATER) { TileLoop_Water(tile); return; |