diff options
author | rubidium <rubidium@openttd.org> | 2007-07-13 15:12:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-13 15:12:36 +0000 |
commit | 46a6b039409839a3d6c61124bf65dac9edb4df13 (patch) | |
tree | b4d68036f038f2510309823706f38b1868c2a6e9 /src | |
parent | 73e2c46e8a35911267d5686cd3e4dd1b22ce3fc2 (diff) | |
download | openttd-46a6b039409839a3d6c61124bf65dac9edb4df13.tar.xz |
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
Diffstat (limited to 'src')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
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 }; |