Changeset - r10165:265e6845ede0
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-09-17 17:23:57
smatz@openttd.org
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/rail_cmd.cpp
Show inline comments
 
@@ -1384,7 +1384,7 @@ CommandCost CmdConvertRail(TileIndex til
 

	
 
					/* 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));
0 comments (0 inline, 0 general)