aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_death_hooks.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 19:34:06 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 19:34:06 +0100
commitee13e877d77ba62b28b7af510c7cc729987044ce (patch)
tree0c857982c626c87a9142cdf6d74e731676318433 /src/ft_death_hooks.c
parentIn progress (diff)
download42-cub3d-ee13e877d77ba62b28b7af510c7cc729987044ce.tar.gz
42-cub3d-ee13e877d77ba62b28b7af510c7cc729987044ce.tar.bz2
42-cub3d-ee13e877d77ba62b28b7af510c7cc729987044ce.tar.xz
42-cub3d-ee13e877d77ba62b28b7af510c7cc729987044ce.tar.zst
42-cub3d-ee13e877d77ba62b28b7af510c7cc729987044ce.zip
Elementary school math into leaks fix
Diffstat (limited to 'src/ft_death_hooks.c')
-rw-r--r--src/ft_death_hooks.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/ft_death_hooks.c b/src/ft_death_hooks.c
index 5482e75..1f0cb6c 100644
--- a/src/ft_death_hooks.c
+++ b/src/ft_death_hooks.c
@@ -39,30 +39,6 @@ static int
{
(void)cl;
return (0);
-/* uint8_t i; */
-/* const float old_y = cl->plist.pos_y; */
-/* const float old_x = cl->plist.pos_x; */
-
-/* i = 0; */
-/* while (i < 5 && cl->key_input[i] != -1 && cl->key_input[i] <= 5) */
-/* { */
-/* cl->key_ptr[cl->key_input[i]](cl); */
-/* ft_collision(old_y, old_x, cl->key_input[i], cl); */
-/* if (cl->mlist.isnlvl) */
-/* { */
-/* if ((uint32_t)cl->plist.pos_x == cl->mlist.nlx && */
-/* (uint32_t)cl->plist.pos_y == cl->mlist.nly) */
-/* { */
-/* ft_sfx_new_level(cl); */
-/* return ((ft_warp_level(cl->mlist.nlevel_path, cl) < 0) ? */
-/* (ft_exit(FT_RET_FAILED_STRUCTS, cl)) : (0)); */
-/* } */
-/* } */
-/* i++; */
-/* } */
-/* if (cl->key_input[0] != -1) */
-/* ft_draw_scene(cl); */
-/* return (0); */
}
void