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

This commit is contained in:
peter1138 2008-02-11 19:10:33 +00:00
parent 6a717aa49b
commit 96525b3edd

View File

@ -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);