From 7f31d232fa7e1b63b2f195fd5f08218213ba8d04 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 8 Feb 2017 13:36:25 -0600 Subject: [PATCH] WWWWWWWWWWWWwwwwwwwwwwWWWWWWWwwwwWWwwWWwwWwwWww --- src/lib/scroll16.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index a9d4e98f..18dff334 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -583,9 +583,12 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) case 0: #endif #ifndef TILERENDER - 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); + 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); + } #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) */ -- 2.39.5