summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-17 13:16:00 +0000
committerfrosch <frosch@openttd.org>2010-10-17 13:16:00 +0000
commitbcd006e4fc5b85b4ab39930cc9eae1d7e6e947a4 (patch)
tree46212ce14cfdf9d61e72b9805e201b52813fc074 /src
parent38c350fad589148ceb8f02a1df815a9555ef0f2e (diff)
downloadopenttd-bcd006e4fc5b85b4ab39930cc9eae1d7e6e947a4.tar.xz
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
Diffstat (limited to 'src')
-rw-r--r--src/tunnelbridge_cmd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 8775b3bc6..bc50b98ed 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -873,9 +873,6 @@ static int DrawPillarColumn(int z_bottom, int z_top, const PalSpriteID *psid, in
*/
static void DrawBridgePillars(const PalSpriteID *psid, const TileInfo *ti, Axis axis, bool drawfarpillar, int x, int y, int z_bridge)
{
- /* Do not draw bridge pillars if they are invisible */
- if (IsInvisibilitySet(TO_BRIDGES)) return;
-
static const int bounding_box_size[2] = {16, 2}; ///< bounding box size of pillars along bridge direction
static const int back_pillar_offset[2] = { 0, 9}; ///< sprite position offset of back facing pillar