diff options
author | smatz <smatz@openttd.org> | 2008-09-17 17:23:57 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-17 17:23:57 +0000 |
commit | 3f11e731a5cab5ddb3fb0ee32d9de88914854bf4 (patch) | |
tree | df559cdea28d1bcf8457b4d1d27b1f21fbec32c6 | |
parent | 083014b868193789adf7f299ca4d72eb861c0fa3 (diff) | |
download | openttd-3f11e731a5cab5ddb3fb0ee32d9de88914854bf4.tar.xz |
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 0b4ddb197..81c81640a 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1384,7 +1384,7 @@ CommandCost CmdConvertRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) /* When not coverting rail <-> el. rail, any vehicle cannot be in tunnel/bridge */ if (!IsCompatibleRail(GetRailType(tile), totype) && - !HasVehicleOnTunnelBridge(tile, endtile)) continue; + HasVehicleOnTunnelBridge(tile, endtile)) continue; if (flags & DC_EXEC) { Track track = DiagDirToDiagTrack(GetTunnelBridgeDirection(tile)); |