aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 14:58:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 14:58:02 +0100
commitb5982b835d46ba6ae7363b60254ebfa2c3439a4d (patch)
tree453adf8d50610afab1318fbac62932ffdda9c308 /src/ft_init_map.c
parentimportant bug fix (diff)
download42-cub3d-b5982b835d46ba6ae7363b60254ebfa2c3439a4d.tar.gz
42-cub3d-b5982b835d46ba6ae7363b60254ebfa2c3439a4d.tar.bz2
42-cub3d-b5982b835d46ba6ae7363b60254ebfa2c3439a4d.tar.xz
42-cub3d-b5982b835d46ba6ae7363b60254ebfa2c3439a4d.tar.zst
42-cub3d-b5982b835d46ba6ae7363b60254ebfa2c3439a4d.zip
Solved 9th sprite problem
Diffstat (limited to 'src/ft_init_map.c')
-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 d252f2e..fb03bfd 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -64,7 +64,7 @@ int8_t
mlist->sprite_var = 0;
mlist->weapon_var = 0;
mlist->topsp = 0;
- ft_bzero(mlist->sprite_nbr, 4096);
+ ft_bzero(mlist->sprite_nbr, 8);
ft_bzero(mlist->sprite_order, 4096);
ft_bzero(mlist->st_o, 4096);
ft_bzero(mlist->traps_order, 512);