diff options
author | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
commit | 7d325672eb35d6c658d18edb4c763a276e24954c (patch) | |
tree | 43eeb8d8df5dc2673e5adeba591247acb8e3bbe2 /src/rail_cmd.cpp | |
parent | 262836a24f2f1f4a2c9c4dec4f7e0b06993839ee (diff) | |
download | openttd-7d325672eb35d6c658d18edb4c763a276e24954c.tar.xz |
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 448068a1a..b1b469500 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1262,7 +1262,7 @@ static void DrawSingleSignal(TileIndex tile, Track track, byte condition, uint i sprite = _signal_base + (GetSignalType(tile, track) - 1) * 16 + GetSignalVariant(tile, track) * 64 + image + condition; } - AddSortableSpriteToDraw(sprite, PAL_NONE, x, y, 1, 1, 10, GetSlopeZ(x,y)); + AddSortableSpriteToDraw(sprite, PAL_NONE, x, y, 1, 1, BB_HEIGHT_UNDER_BRIDGE, GetSlopeZ(x,y)); } static uint32 _drawtile_track_palette; |