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

index 06b9bca1b484d03127686a332b18812efd379a90..aa645e9bafda4193a7429cb8dc2824ca36ae740a 100755 (executable)
@@ -503,7 +503,7 @@ void near ScrollLeft(map_view_t *mv, player_t *player, word id, word plid)
                /* Snap the origin backward */
                mv[0].video->page[id].data -= 4;
                mv[0].video->page[id].dx = mv[0].map->tiles->tileWidth;
-       }
+       }else printf("%u\n", mv[0].video->page[id].dx);
 }
 
 void near ScrollUp(map_view_t *mv, player_t *player, word id, word plid)
@@ -517,7 +517,7 @@ void near ScrollUp(map_view_t *mv, player_t *player, word id, word plid)
                /* Snap the origin backward */
                mv[0].video->page[id].data -= 4;
                mv[0].video->page[id].dy = mv[0].map->tiles->tileWidth;
-       }
+       }else printf("%u\n", mv[0].video->page[id].dy);
 }
 
 void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid)