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 | 96525b3edd2973684167f1eef5f5262fab1d8cf0 (patch) | |
tree | 1acdb5208ebb54539fb3f37cbe4d24ddddae6919 | |
parent | 6a717aa49bcaf5c689204c46fb91361f0deba90b (diff) | |
download | openttd-96525b3edd2973684167f1eef5f5262fab1d8cf0.tar.xz |
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
-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); |