station_cmd.c
changeset 354 d9a179673155
parent 313 6660bb7b38f1
child 384 bf1303e754ff
equal deleted inserted replaced
353:a4f288d6d7ab 354:d9a179673155
  1795 
  1795 
  1796 	img = *(const uint32*)t;
  1796 	img = *(const uint32*)t;
  1797 	t += sizeof(uint32);
  1797 	t += sizeof(uint32);
  1798 	if (img & 0x8000)
  1798 	if (img & 0x8000)
  1799 		img |= ormod;
  1799 		img |= ormod;
  1800 	DrawSprite(img, x, y);
  1800 	DrawSprite(img + railtype, x, y);
  1801 
  1801 
  1802 	for(dtss = (const DrawTileSeqStruct *)t; (byte)dtss->delta_x != 0x80; dtss++) {
  1802 	for(dtss = (const DrawTileSeqStruct *)t; (byte)dtss->delta_x != 0x80; dtss++) {
  1803 		Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z);
  1803 		Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z);
  1804 		DrawSprite((dtss->image | ormod) + railtype, x + pt.x, y + pt.y);
  1804 		DrawSprite((dtss->image | ormod) + railtype, x + pt.x, y + pt.y);
  1805 	}
  1805 	}