From: sparky4 Date: Wed, 22 Jun 2016 16:43:56 +0000 (-0500) Subject: meh i should organize gvar and mv soon and use the memory manager and i cleaned the... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=c763f0142bf7eba0a294556ac02d7f427bf016f4;p=16.git meh i should organize gvar and mv soon and use the memory manager and i cleaned the code up a bit --- diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 571e1420..180450bd 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -647,7 +647,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) { case 0: #ifndef TILERENDER - modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, ((t->debug_data[i]))); + modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, ((t->debug_data[i])+1)); //modexprint(page, x, y, 1, 15, 0, (char const *)(t->debug_data[i])); #else PBUFBFUN (page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); @@ -657,7 +657,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) #endif break; case 1: - modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])); + modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])+1); //modexprintbig(page, x, y, 1, 15, 0, (t->debug_data)); /*for(texty=0; texty<2; texty++) {