Changeset - r6708:8f38bbf425fc
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-05-26 20:30:40
rubidium@openttd.org
(svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -304,6 +304,9 @@ int32 CmdBuildBridge(TileIndex end_tile,
 
		cost = (bridge_len + 1) * _price.clear_bridge; // The cost of clearing the current bridge.
 
		replace_bridge = true;
 
		replaced_bridge_type = GetBridgeType(tile_start);
 

	
 
		/* Do not remove road types when upgrading a bridge */
 
		roadtypes |= GetRoadTypes(tile_start);
 
	} else {
 
		/* Build a new bridge. */
 

	
0 comments (0 inline, 0 general)