aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_bad_boys.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 18:45:25 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 18:45:25 +0200
commitc12dc3125cda5599fcbadfe2492ef0015e8093f2 (patch)
tree90edcf38579ef621f75768c5ffecb4062a28257d /src/ft_init_bad_boys.c
parentAlright sounds (diff)
download42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.gz
42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.bz2
42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.xz
42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.tar.zst
42-cub3d-c12dc3125cda5599fcbadfe2492ef0015e8093f2.zip
Better sound balance, now hardgimping
Diffstat (limited to 'src/ft_init_bad_boys.c')
-rw-r--r--src/ft_init_bad_boys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_bad_boys.c b/src/ft_init_bad_boys.c
index 100411e..bf4ae67 100644
--- a/src/ft_init_bad_boys.c
+++ b/src/ft_init_bad_boys.c
@@ -38,6 +38,7 @@ int8_t
cl->bad_boy[i].life = FT_ENMY_STRT_LIFE;
cl->bad_boy[i].does = 0;
cl->bad_boy[i].sleep = 0;
+ cl->bad_boy[i].isdead = 0;
cl->bad_boy[i].act[0] = ft_bb_wait;
cl->bad_boy[i].act[1] = ft_bb_walk;
cl->bad_boy[i].act[2] = ft_bb_fire;