aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r--src/ft_key_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index da24f7e..b1e5aa7 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -51,7 +51,7 @@ static int
t_player *pl;
pl = clist->plist;
- if (pl->view_side >= 1)
+ if (pl->view_side == 1)
pl->pos_y += 0.4;
else if (pl->view_side == 2)
pl->pos_x -= 0.4;