]> 4ch.mooo.com Git - 16.git/blobdiff - src/scroll.c
renamed: data/ptmp0.pcx -> ptmp.pcx
[16.git] / src / scroll.c
index c8a5a621658f6eaf7679832f6d77a7e2c01e4815..5275fc69119c7b4acbfa4b58a2ffe67a9d9d9870 100644 (file)
@@ -77,7 +77,6 @@ void main() {
        map_view_t *bg, *spri, *mask;//, *tmp;
        byte *ptr;
 
-       setkb(1);
        /* create the map */
        map = allocMap(MAPX,MAPY); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly
        initMap(&map);
@@ -87,7 +86,9 @@ void main() {
 
        /* draw the tiles */
        ptr = map.data;
-       ptmp = bitmapLoadPcx("data\ptmp.pcx"); // load sprite
+       /*data\\*/
+       ptmp = bitmapLoadPcx("ptmp.pcx"); // load sprite
+       setkb(1);
        modexEnter();
        modexPalUpdate(ptmp.palette);
        screen = modexDefaultPage();