aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_key_events.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index b1e5aa7..1b4b738 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -22,13 +22,13 @@ static int
pl = clist->plist;
if (pl->view_side == 1)
- pl->pos_y -= 0.4;
+ pl->pos_y -= 0.3;
else if (pl->view_side == 2)
- pl->pos_x += 0.4;
+ pl->pos_x += 0.3;
else if (pl->view_side == 3)
- pl->pos_y += 0.4;
+ pl->pos_y += 0.3;
else if (pl->view_side == 4)
- pl->pos_x -= 0.4;
+ pl->pos_x -= 0.3;
ft_drawmap(clist);
return (0);
}
@@ -52,13 +52,13 @@ static int
pl = clist->plist;
if (pl->view_side == 1)
- pl->pos_y += 0.4;
+ pl->pos_y += 0.3;
else if (pl->view_side == 2)
- pl->pos_x -= 0.4;
+ pl->pos_x -= 0.3;
else if (pl->view_side == 3)
- pl->pos_y -= 0.4;
+ pl->pos_y -= 0.3;
else if (pl->view_side == 4)
- pl->pos_x += 0.4;
+ pl->pos_x += 0.3;
ft_drawmap(clist);
return (0);
}