X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fscroll16.c;h=23d34bef4b2580f078b6f52db9673485d35cc21d;hb=421240627b8f676f117deb2cc04b36fbf10726ab;hp=f56a7c049a48c143e73a345096db2e6c93327ad4;hpb=2efd862f97629e2bbb52e5f533dde93dfc3729e2;p=16.git diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index f56a7c04..23d34bef 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -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; @@ -467,12 +467,9 @@ sword chkmap(map_t *map, word q) map->tiles->tileWidth = 16; map->tiles->rows = 1; map->tiles->cols = 1; -#ifndef TILESPRITE map->tiles->debug_text = true; -#else - map->tiles->debug_text = false; -#endif } + else map->tiles->debug_text = false; return 0; } @@ -706,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(); }