Mercurial > hg > openttd
changeset 8536:9876aef655b0 draft
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Mon, 11 Feb 2008 19:10:33 +0000 |
parents | c026695bee6c |
children | f0b9e8fb632b |
files | src/tunnelbridge_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -1142,7 +1142,7 @@ 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);