From 2ea18fb7e893691389108ae7731e26576715ca13 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 31 Mar 2020 16:19:22 +0200 Subject: Alright sounds --- src/ft_damage_bad_boy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ft_damage_bad_boy.c') diff --git a/src/ft_damage_bad_boy.c b/src/ft_damage_bad_boy.c index c9cb66c..27a41ad 100644 --- a/src/ft_damage_bad_boy.c +++ b/src/ft_damage_bad_boy.c @@ -42,5 +42,7 @@ void cl->bad_boy[id].life -= FT_W_TWO_DANAGE_AMOUNT; else if (cl->plist.handles_weapon == 4) cl->bad_boy[id].life -= FT_W_THREE_DANAGE_AMOUNT; - /* TODO: sfx enemy scream and death */ + if (cl->bad_boy[id].does != 3) + cl->sfx[14].sfx_play(cl->sfx); + /* TODO: sfx enemy death */ } -- cgit v1.2.3