From f9ab7d0c13e357a5c1c727b926c7414ea8643e91 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 8 Feb 2017 13:55:06 -0600 Subject: [PATCH] WWWWWWWWWWWWwwwwwwwwwwWWWWWWWwwwwWWwwWWwwWwwWww --- src/lib/scroll16.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 42561f3d..a5b453a1 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -583,12 +583,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) case 0: #endif #ifndef TILERENDER - modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i); - if(!pagenorendermap) - { - sprintf(global_temp_status_text2, "%d", i); - modexprint(page, x, y, 1, 1, 2, global_temp_status_text2); - } + if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i); #else modexDrawBmpRegion (page, x, y, rx, ry, t->tileWidth, t->tileHeight, i); /* then the sprite. note modding ram ptr means we just draw to (x&3,0) */ @@ -598,15 +593,9 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) #ifdef __DEBUG_MAP__ break; case 1: - modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i); - //modexprintbig(page, x, y, 1, 15, 0, (t->debug_data)); - /*for(texty=0; texty<2; texty++) - { - for(textx=0; textx<2; textx++) - {*/ -// modexprint(page, x+(textx*8), y+(texty*8), 1, (word)(t->debug_data), 0, (t->debug_data)); -/* } - }*/ + if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i); + sprintf(global_temp_status_text2, "%d", i); + modexprint(page, x, y, 1, 1, 2, global_temp_status_text2); break; } #endif -- 2.39.5