summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-13 15:12:36 +0000
committerrubidium <rubidium@openttd.org>2007-07-13 15:12:36 +0000
commit02f00a254db42a1e5fedfd8b3d2b746eeefb9a95 (patch)
treeb4d68036f038f2510309823706f38b1868c2a6e9
parent84303d03969efa5432fb307528a34f5e274c0649 (diff)
downloadopenttd-02f00a254db42a1e5fedfd8b3d2b746eeefb9a95.tar.xz
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
-rw-r--r--src/tunnelbridge_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 82514656b..8a49808bf 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -898,7 +898,7 @@ uint GetBridgeFoundation(Slope tileh, Axis axis)
static void DrawBridgeTramBits(int x, int y, byte z, int offset, bool overlay)
{
static const SpriteID tram_offsets[2][6] = { { 107, 108, 109, 110, 111, 112 }, { 4, 5, 15, 16, 17, 18 } };
- static const SpriteID back_offsets[6] = { 95, 95, 99, 102, 100, 101 };
+ static const SpriteID back_offsets[6] = { 95, 96, 99, 102, 100, 101 };
static const SpriteID front_offsets[6] = { 97, 98, 103, 106, 104, 105 };
static const uint size_x[6] = { 11, 16, 16, 16, 16, 16 };