aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 18:55:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 18:55:43 +0100
commitcaa6cc5bc81278f446d852f73422af36c4c846c5 (patch)
tree58bcdba2ef530c6c1ab423209964b1b4e8877135 /src/ft_suffer_animation.c
parentCan't death hook (diff)
download42-cub3d-caa6cc5bc81278f446d852f73422af36c4c846c5.tar.gz
42-cub3d-caa6cc5bc81278f446d852f73422af36c4c846c5.tar.bz2
42-cub3d-caa6cc5bc81278f446d852f73422af36c4c846c5.tar.xz
42-cub3d-caa6cc5bc81278f446d852f73422af36c4c846c5.tar.zst
42-cub3d-caa6cc5bc81278f446d852f73422af36c4c846c5.zip
Perfect but leaks
Diffstat (limited to 'src/ft_suffer_animation.c')
-rw-r--r--src/ft_suffer_animation.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index c5187f9..d08fa54 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -40,7 +40,6 @@ void
cl->plist.life -= 20;
if (cl->plist.life <= 0)
{
- /* ft_warp_level(cl->mlist.filename, cl); */
ft_sfx_death(cl);
ft_death_screen(cl);
}
@@ -73,7 +72,6 @@ void
cl->plist.life -= 20;
if (cl->plist.life <= 0)
{
- /* ft_warp_level(cl->mlist.filename, cl); */
ft_sfx_death(cl);
ft_death_screen(cl);
}