aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-03-12 18:56:59 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-03-12 18:56:59 +0100
commit141fb4d33f73cac99b1b19e475f83fb755f208a2 (patch)
treee93c2d490440caee29f2c85d86c9dc9bd8512a28 /src/ft_suffer_animation.c
parentkk (diff)
download42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.gz
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.bz2
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.xz
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.zst
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.zip
good
Diffstat (limited to 'src/ft_suffer_animation.c')
-rw-r--r--src/ft_suffer_animation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index b800a39..bc8eb12 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -40,7 +40,7 @@ void
}
cl->plist.life -= 20;
if (cl->plist.life <= 0)
- ft_exit(0, cl);
+ ft_warp_level(cl->mlist.filename, cl);
/* TODO death screen here */
cl->doicast = 0;
}