home · contact · privacy
Client: Fix bug that made horizontal scrolling jump back on large maps.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 17 Apr 2014 00:23:51 +0000 (02:23 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 17 Apr 2014 00:23:51 +0000 (02:23 +0200)
TODO
src/client/map.c

diff --git a/TODO b/TODO
index c3c5b5fe2c2c65f9cbf5fbd333f07579fc34e264..5438e49d14ea3405bc32f498c6f1a05ca78dde78 100644 (file)
--- a/TODO
+++ b/TODO
@@ -25,5 +25,3 @@ CLIENT:
 - enable toggling of window borders
 
 - make log scrollable
-
-- fix buggy scrollling of large maps
index 48a9b5830de67de3cb60342b8e85277fb6700726..2e3c12d1c34af34c8e8625caf0ee858baa495c85 100644 (file)
@@ -10,7 +10,7 @@
 extern void map_scroll(char d)
 {
     struct Win * win = get_win_by_id('m');
-    uint8_t offset;
+    uint16_t offset;
     if (('8' == d || '2' == d) && world.map.size.y > win->frame_size.y)
     {
         offset = center_offset(win->center.y,