aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_key_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 2fe62e7..d92b37e 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -40,8 +40,8 @@ int
{
cl->key_ptr[cl->key_input[i]](cl);
ft_collision(old_y, old_x, cl->plist, cl->mlist);
- ft_draw_scene(cl);
i++;
}
+ ft_draw_scene(cl);
return (0);
}