From f175e462081e9b0c6e75fccdbe9cb8469bacd55e Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 11 Feb 2008 19:10:33 +0000 Subject: (svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec --- src/tunnelbridge_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 0773497a1..8a3e23d6e 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -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); -- cgit v1.2.3-70-g09d2