aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:13:23 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:13:23 +0100
commit47c6c125c7095bae50188376d8d8d10fe8b2b1c8 (patch)
tree5d4554ed336a70e0ca8e9d62ed764ff131a59330 /src/ft_suffer_animation.c
parentRemoved footsteps, in progress (diff)
download42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.gz
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.bz2
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.xz
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.zst
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.zip
Better than nothing
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 6933f56..3d9100a 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)
{
- cl->plist.isdead = 1;
ft_warp_level(cl->mlist.filename, cl);
ft_sfx_death(cl);
/* TODO death screen here */
@@ -74,7 +73,6 @@ void
cl->plist.life -= 20;
if (cl->plist.life <= 0)
{
- cl->plist.isdead = 1;
ft_warp_level(cl->mlist.filename, cl);
ft_sfx_death(cl);
/* TODO death screen here */