From cc2b8b574a7df99a4e2912ddca06d227cd62c570 Mon Sep 17 00:00:00 2001 From: belugas Date: Mon, 11 Feb 2008 17:35:15 +0000 Subject: (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. --- src/tunnelbridge_cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tunnelbridge_cmd.cpp') 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; -- cgit v1.2.3-54-g00ecf