From 65058d0d57ebe6cce1872440b2327b47324831e4 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 11 Nov 2004 23:10:22 +0000 Subject: (svn r542) -Fix: Display correct rail type in "build railway station" window Thanks, ln-- --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/station_cmd.c b/station_cmd.c index b4aeacfbb..23f5b17cc 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -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); -- cgit v1.2.3-70-g09d2