diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-22 23:30:19 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-22 23:30:19 +0100 |
commit | 2e94225f4f96074ce5f0320500d5b006f7ccc875 (patch) | |
tree | db411bbf5dda9cf6bb5147a45e3a7d4b5d13844a | |
parent | Norme (diff) | |
download | 42-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 '')
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/ft_key_loop.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ MLX_DIR = minilibx/ #==================================================================================================# #---------------------------------------------- Files ---------------------------------------------# #==================================================================================================# -INCS = cub3d.h +INCS = cub3d.h INCS += cub3d_defines.h INCS += cub3d_structs.h #--------------------------------------------------------------------------------------------------# 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); } |