From c7eff3cd44ea22cc10a765deaba7925752ba790f Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 9 Feb 2020 14:35:38 +0100 Subject: Twealed move speed --- src/ft_key_events.c | 16 ++++++++-------- 1 file 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); } -- cgit v1.2.3