diff options
author | belugas <belugas@openttd.org> | 2008-02-11 17:35:15 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-02-11 17:35:15 +0000 |
commit | 6a717aa49bcaf5c689204c46fb91361f0deba90b (patch) | |
tree | bb6d4544cc26e45639a2159c483064afedebca6d /src/tunnelbridge_cmd.cpp | |
parent | a9ce2a7122b8140b183a35f2bae3e9b34e85e072 (diff) | |
download | openttd-6a717aa49bcaf5c689204c46fb91361f0deba90b.tar.xz |
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 53ac0012b..0773497a1 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -38,7 +38,7 @@ #include "table/strings.h" #include "table/bridge_land.h" -Bridge _bridge[MAX_BRIDGES]; +BridgeSpec _bridge[MAX_BRIDGES]; /** Reset the data been eventually changed by the grf loaded. */ void ResetBridges() @@ -99,7 +99,7 @@ bool HasBridgeFlatRamp(Slope tileh, Axis axis) static inline const PalSpriteID *GetBridgeSpriteTable(int index, byte table) { - const Bridge *bridge = GetBridgeSpec(index); + const BridgeSpec *bridge = GetBridgeSpec(index); assert(table < 7); if (bridge->sprite_table == NULL || bridge->sprite_table[table] == NULL) { return _bridge_sprite_table[index][table]; @@ -153,7 +153,7 @@ static CommandCost CheckBridgeSlopeSouth(Axis axis, Slope *tileh, uint *z) bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len) { - const Bridge *b = GetBridgeSpec(bridge_type); + const BridgeSpec *b = GetBridgeSpec(bridge_type); uint max; // max possible length of a bridge (with patch 100) if (bridge_type >= MAX_BRIDGES) return false; |