]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/scroll16.c
exmmtest error
[16.git] / src / lib / scroll16.c
index 6f83207c4549c6578b47b6ee4a4fe845165108fe..23d34bef4b2580f078b6f52db9673485d35cc21d 100755 (executable)
@@ -451,7 +451,7 @@ sword chkmap(map_t *map, word q)
 1,     1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      \
 1,     1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      3,      3,      3,      3,      1,      2,      3,      4 };*/
        //check for failed to load map
-       if((map->width == map->height == 0) || (q>0))
+       if((map->width == map->height == 0) && (q>0))
        {
                //initiate a null map!
                map->width=MAPW;///2;
@@ -469,6 +469,7 @@ sword chkmap(map_t *map, word q)
                map->tiles->cols = 1;
                map->tiles->debug_text = true;
        }
+       else map->tiles->debug_text = false;
        return 0;
 }
 
@@ -702,6 +703,6 @@ void animatePlayer(map_view_t *pip, player_t *player, word playnum, sword scroll
        //modexClearRegion(top->page, 66, 66, 2, 40, 0);
        //modexCopyPageRegion(dest->page, top->page, 66, 66, 66, 66, 2, 40);
        //turn this off if XT
-       //XTif(detectcpu() > 0)
+       if(detectcpu() > 0)
        modexWaitBorder();
 }