diff options
author | frosch <frosch@openttd.org> | 2010-10-17 13:16:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-10-17 13:16:00 +0000 |
commit | bcd006e4fc5b85b4ab39930cc9eae1d7e6e947a4 (patch) | |
tree | 46212ce14cfdf9d61e72b9805e201b52813fc074 | |
parent | 38c350fad589148ceb8f02a1df815a9555ef0f2e (diff) | |
download | openttd-bcd006e4fc5b85b4ab39930cc9eae1d7e6e947a4.tar.xz |
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 3 |
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 |