]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/scroll16.c
[16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / scroll16.c
index 952b0f423afd01b7c3e4db7a87cf9a458d4d5c05..0e73d83b99492fb9eec83d1e8c5d7c8801fa6d82 100755 (executable)
@@ -576,13 +576,8 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
                        modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, 1); //currently the over scan color!\r
                break;\r
                default:\r
-#ifndef VRSVRLNONPTR\r
-                       rx = (((i-1) % ((t->spri->sprite_vrl_cont->vrl_header->width)/t->tileWidth)) * t->tileWidth);\r
-                       ry = (((i-1) / ((t->spri->sprite_vrl_cont->vrl_header->height)/t->tileHeight)) * t->tileHeight);\r
-#else\r
                        rx = (((i-1) % ((t->spri->sprite_vrl_cont.vrl_header->width)/t->tileWidth)) * t->tileWidth);\r
                        ry = (((i-1) / ((t->spri->sprite_vrl_cont.vrl_header->height)/t->tileHeight)) * t->tileHeight);\r
-#endif\r
 #ifndef TILERENDER\r
                        if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i+1);\r
 #else\r