home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Client: Fix bug that made horizontal scrolling jump back on large maps.
[plomrogue]
/
src
/
client
/
map.c
diff --git
a/src/client/map.c
b/src/client/map.c
index 48a9b5830de67de3cb60342b8e85277fb6700726..2e3c12d1c34af34c8e8625caf0ee858baa495c85 100644
(file)
--- a/
src/client/map.c
+++ b/
src/client/map.c
@@
-10,7
+10,7
@@
extern void map_scroll(char d)
{
struct Win * win = get_win_by_id('m');
extern void map_scroll(char d)
{
struct Win * win = get_win_by_id('m');
- uint
8
_t offset;
+ uint
16
_t offset;
if (('8' == d || '2' == d) && world.map.size.y > win->frame_size.y)
{
offset = center_offset(win->center.y,
if (('8' == d || '2' == d) && world.map.size.y > win->frame_size.y)
{
offset = center_offset(win->center.y,