From c763f0142bf7eba0a294556ac02d7f427bf016f4 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 22 Jun 2016 11:43:56 -0500 Subject: [PATCH] meh i should organize gvar and mv soon and use the memory manager and i cleaned the code up a bit --- src/lib/scroll16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) { -- 2.39.5