aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_suffer_animation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index c0bc307..28a0d12 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -72,7 +72,10 @@ void
}
cl->plist.life -= 20;
if (cl->plist.life <= 0)
+ {
+ cl->plist.isdead = 1;
ft_warp_level(cl->mlist.filename, cl);
+ }
/* TODO death screen here */
cl->doicast = 0;
}