mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
This commit is contained in:
parent
6a717aa49b
commit
96525b3edd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user