aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index dc3a65d..c16655e 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -83,7 +83,7 @@ int
{
cl->key_ptr[cl->key_input[i]](cl);
ft_collision(old_y, old_x, cl->key_input[i], cl);
- if (cl->mlist.isnlvl && !cl->plist.isdead)
+ if (cl->mlist.isnlvl)
{
if ((uint32_t)cl->plist.pos_x == cl->mlist.nlx &&
(uint32_t)cl->plist.pos_y == cl->mlist.nly)
@@ -95,7 +95,6 @@ int
}
i++;
}
- ft_printf("%hhu\n", cl->plist.isdead);
if (cl->key_input[0] != -1)
ft_draw_scene(cl);
return (0);