From 46a6b039409839a3d6c61124bf65dac9edb4df13 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 13 Jul 2007 15:12:36 +0000 Subject: (svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions. --- src/tunnelbridge_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 }; -- cgit v1.2.3-70-g09d2