aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-22 23:30:19 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-22 23:30:19 +0100
commit2e94225f4f96074ce5f0320500d5b006f7ccc875 (patch)
treedb411bbf5dda9cf6bb5147a45e3a7d4b5d13844a /src/ft_key_loop.c
parentNorme (diff)
download42-cub3d-2e94225f4f96074ce5f0320500d5b006f7ccc875.tar.gz
42-cub3d-2e94225f4f96074ce5f0320500d5b006f7ccc875.tar.bz2
42-cub3d-2e94225f4f96074ce5f0320500d5b006f7ccc875.tar.xz
42-cub3d-2e94225f4f96074ce5f0320500d5b006f7ccc875.tar.zst
42-cub3d-2e94225f4f96074ce5f0320500d5b006f7ccc875.zip
Smooth af
Diffstat (limited to 'src/ft_key_loop.c')
-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);
}