]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm
authorsparky4 <sparky4@cock.li>
Mon, 13 Jun 2016 16:51:11 +0000 (11:51 -0500)
committersparky4 <sparky4@cock.li>
Mon, 13 Jun 2016 16:51:11 +0000 (11:51 -0500)
src/lib/scroll16.c

index 06b9bca1b484d03127686a332b18812efd379a90..e6636dc9598721aa4ab8eb9d4efd3adf54da9d34 100755 (executable)
@@ -515,7 +515,7 @@ void near ScrollUp(map_view_t *mv, player_t *player, word id, word plid)
        if(mv[0].video->page[id].dy == 0)
        {
                /* Snap the origin backward */
-               mv[0].video->page[id].data -= 4;
+               mv[0].video->page[id].data -= 1408;//4;
                mv[0].video->page[id].dy = mv[0].map->tiles->tileWidth;
        }
 }
@@ -529,7 +529,7 @@ void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid)
        if(mv[0].video->page[id].dy >= mv[0].dxThresh )
        {
                /* Snap the origin forward */
-               mv[0].video->page[id].data += 4;
+               mv[0].video->page[id].data += 1408;//4;
                mv[0].video->page[id].dy = mv[0].map->tiles->tileWidth;
        }
 }