(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)

This commit is contained in:
rubidium
2008-11-07 17:59:51 +00:00
parent e91ae97e19
commit c7f3935506
4 changed files with 27 additions and 2 deletions

View File

@@ -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;