aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 72a02fd..1859afe 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -70,7 +70,7 @@ int8_t
i = -1;
while (++i < FT_TOTAL_SPRT)
ft_bzero(mlist->sprite_order[i], 4096);
- ft_bzero(mlist->st_o, FT_TOTAL_SPRT);
+ ft_bzero(mlist->st_o, FT_TOTAL_SPRT + 1);
ft_bzero(mlist->heals_order, 64);
mlist->weaps_nbr[0] = 0;
mlist->weaps_nbr[1] = 0;