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

Thanks, ln--
This commit is contained in:
tron 2004-11-11 23:10:22 +00:00
parent 7a97e54559
commit 65058d0d57
1 changed files with 1 additions and 1 deletions

View File

@ -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);