diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-02-24 18:19:58 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-02-24 18:19:58 +0100 |
commit | 84a92b0d2824a97c3358f8ce86290aa8a718618e (patch) | |
tree | 47b55ae0d01c3146d9c86e9b2721efcdf40cba1f /src/ft_key_loop.c | |
parent | tests (diff) | |
download | 42-cub3d-84a92b0d2824a97c3358f8ce86290aa8a718618e.tar.gz 42-cub3d-84a92b0d2824a97c3358f8ce86290aa8a718618e.tar.bz2 42-cub3d-84a92b0d2824a97c3358f8ce86290aa8a718618e.tar.xz 42-cub3d-84a92b0d2824a97c3358f8ce86290aa8a718618e.tar.zst 42-cub3d-84a92b0d2824a97c3358f8ce86290aa8a718618e.zip |
very bad
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r-- | src/ft_key_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c index b902e33..aa7017f 100644 --- a/src/ft_key_loop.c +++ b/src/ft_key_loop.c @@ -46,8 +46,8 @@ int { (*fun_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); } |