]> 4ch.mooo.com Git - 16.git/commitdiff
WWWWWWWWWWWWwwwwwwwwwwWWWWWWWwwwwWWwwWWwwWwwWww
authorsparky4 <sparky4@cock.li>
Wed, 8 Feb 2017 19:36:25 +0000 (13:36 -0600)
committersparky4 <sparky4@cock.li>
Wed, 8 Feb 2017 19:36:25 +0000 (13:36 -0600)
src/lib/scroll16.c

index a9d4e98f687cb11817538acb18359c5cde306a55..18dff334e86afcc04b1b75412f4e0bed4e88cf6d 100755 (executable)
@@ -583,9 +583,12 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
                        case 0:\r
 #endif\r
 #ifndef TILERENDER\r
-                               if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
-                               sprintf(global_temp_status_text2, "%d", i);\r
-                               modexprint(page, x, y, 1, 1, 2, global_temp_status_text2);\r
+                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
+                               if(/*!*/pagenorendermap)\r
+                               {\r
+                                       sprintf(global_temp_status_text2, "%d", i);\r
+                                       modexprint(page, x, y, 1, 1, 2, global_temp_status_text2);\r
+                               }\r
 #else\r
                                modexDrawBmpRegion              (page, x, y, rx, ry, t->tileWidth, t->tileHeight, i);\r
                                /* then the sprite. note modding ram ptr means we just draw to (x&3,0) */\r