aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_suffer_animation.c')
-rw-r--r--src/ft_suffer_animation.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index 9ee7882..6a325bc 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -40,13 +40,13 @@ void
if (cl->plist.life <= 0)
{
cl->isdead = 1;
- ft_sfx_death(cl);
+ cl->sfx[0].sfx_play(cl->sfx);
ft_death_screen(cl);
}
else
{
- ft_sfx_trap(cl);
- ft_sfx_pain(cl);
+ cl->sfx[4].sfx_play(cl->sfx);
+ cl->sfx[3].sfx_play(cl->sfx);
}
}
@@ -76,13 +76,13 @@ void
if (cl->plist.life <= 0)
{
cl->isdead = 1;
- ft_sfx_death(cl);
+ cl->sfx[0].sfx_play(cl->sfx);
ft_death_screen(cl);
}
else
{
- ft_sfx_trap(cl);
- ft_sfx_pain(cl);
+ cl->sfx[4].sfx_play(cl->sfx);
+ cl->sfx[3].sfx_play(cl->sfx);
}
cl->doicast = 0;
}