diff options
author | rubidium <rubidium@openttd.org> | 2008-11-07 17:59:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-07 17:59:51 +0000 |
commit | c7f3935506b584415ea249ab01f4d2c8f70c08cc (patch) | |
tree | c380e6faa058315b7e8b64e8999b7750c233e297 /src/rail_cmd.cpp | |
parent | e91ae97e19634917cd9b866e1cab397970f33045 (diff) | |
download | openttd-c7f3935506b584415ea249ab01f4d2c8f70c08cc.tar.xz |
(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
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; |