]> 4ch.mooo.com Git - 16.git/commitdiff
made major changes in code for the future of scroll ^^
authorsparky4 <sparky4@cock.li>
Wed, 27 Apr 2016 20:52:31 +0000 (15:52 -0500)
committersparky4 <sparky4@cock.li>
Wed, 27 Apr 2016 20:52:31 +0000 (15:52 -0500)
src/lib/scroll16.c

index 5b0cfd73694977978381c8d59ebe2ed06df196f5..79585313fa5f68aed079cc5fb66507d76da05583 100755 (executable)
@@ -459,9 +459,9 @@ void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid)
                mv[0].video->page[id].data += 4;
                mv[0].video->page[id].dy = mv[0].map->tiles->tileWidth;
        }
-//     modexClearRegion(&(mv[0].video->page[id]), 0, 0,
-//                      mv[0].video->page[id].width-1,
-//               mv[0].video->page[id].height-1, [id]*2);
+       modexClearRegion(&(mv[0].video->page[id]), 0, 0,
+                        mv[0].video->page[id].width-1,
+                 mv[0].video->page[id].height-1, id*2);
 }
 
 sword chkmap(map_t *map, word q)