(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 17 years ago
parent cc2b8b574a
commit f175e46208

@ -1142,7 +1142,7 @@ static void GetTileDesc_TunnelBridge(TileIndex tile, TileDesc *td)
td->str = (GetTunnelBridgeTransportType(tile) == TRANSPORT_RAIL) ?
STR_5017_RAILROAD_TUNNEL : STR_5018_ROAD_TUNNEL;
} else { //so it must be a bridge
const Bridge *brspc = GetBridgeSpec(GetBridgeType(tile));
const BridgeSpec *brspc = GetBridgeSpec(GetBridgeType(tile));
td->str = GetTunnelBridgeTransportType(tile) == TRANSPORT_RAIL ? brspc->name_rail : brspc->name_road;
}
td->owner = GetTileOwner(tile);

Loading…
Cancel
Save