aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:40:47 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:40:47 +0100
commit3520f4bf3d435991f402e46731c15838baae0894 (patch)
treec8cbf06ebd69a422cbcf2cb8381916af172da726 /src/ft_key_loop.c
parentStill sfx to do (diff)
parentBug fix (diff)
download42-cub3d-3520f4bf3d435991f402e46731c15838baae0894.tar.gz
42-cub3d-3520f4bf3d435991f402e46731c15838baae0894.tar.bz2
42-cub3d-3520f4bf3d435991f402e46731c15838baae0894.tar.xz
42-cub3d-3520f4bf3d435991f402e46731c15838baae0894.tar.zst
42-cub3d-3520f4bf3d435991f402e46731c15838baae0894.zip
Merge branch 'master' into weaps
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 0108202..e0177e2 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -89,6 +89,7 @@ int
{
ft_sfx_footstep(cl);
ft_collision(old_y, old_x, cl->key_input[i], cl);
+ ft_find_item(&cl->plist, &cl->mlist, cl);
if (cl->mlist.isnlvl)
{
if ((uint32_t)cl->plist.pos_x == cl->mlist.nlx &&