mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-26 00:54:05 +00:00
(svn r542) -Fix: Display correct rail type in "build railway station" window
Thanks, ln--
This commit is contained in:
parent
7a97e54559
commit
65058d0d57
@ -1797,7 +1797,7 @@ void StationPickerDrawSprite(int x, int y, int railtype, int image)
|
||||
t += sizeof(uint32);
|
||||
if (img & 0x8000)
|
||||
img |= ormod;
|
||||
DrawSprite(img, x, y);
|
||||
DrawSprite(img + railtype, x, y);
|
||||
|
||||
for(dtss = (const DrawTileSeqStruct *)t; (byte)dtss->delta_x != 0x80; dtss++) {
|
||||
Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z);
|
||||
|
Loading…
Reference in New Issue
Block a user