From a7ed94daa9342fdfeb4807bf512f70d5c16dc88c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 4 Feb 2020 22:12:28 +0100 Subject: Weird bug fix --- src/ft_key_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_key_events.c') 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; -- cgit v1.2.3