(svn r542) -Fix: Display correct rail type in "build railway station" window

Thanks, ln--
pull/155/head
tron 20 years ago
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…
Cancel
Save