equal
deleted
inserted
replaced
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 } |