diff options
author | peter1138 <peter1138@openttd.org> | 2008-02-11 19:10:33 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-02-11 19:10:33 +0000 |
commit | f175e462081e9b0c6e75fccdbe9cb8469bacd55e (patch) | |
tree | 1acdb5208ebb54539fb3f37cbe4d24ddddae6919 /src | |
parent | cc2b8b574a7df99a4e2912ddca06d227cd62c570 (diff) | |
download | openttd-f175e462081e9b0c6e75fccdbe9cb8469bacd55e.tar.xz |
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
Diffstat (limited to 'src')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |