diff options
author | salaaad2 <arthudurant263@gmail.com> | 2020-03-18 22:35:26 +0100 |
---|---|---|
committer | salaaad2 <arthudurant263@gmail.com> | 2020-03-18 22:35:26 +0100 |
commit | 768b140f6659e6e110d37a7f8557c3da3669155b (patch) | |
tree | 2fe3655ea1c4ea607e1f9da2a40a337f16f3cb07 /src/ft_init_map.c | |
parent | fatfingers 2 (diff) | |
download | 42-cub3d-768b140f6659e6e110d37a7f8557c3da3669155b.tar.gz 42-cub3d-768b140f6659e6e110d37a7f8557c3da3669155b.tar.bz2 42-cub3d-768b140f6659e6e110d37a7f8557c3da3669155b.tar.xz 42-cub3d-768b140f6659e6e110d37a7f8557c3da3669155b.tar.zst 42-cub3d-768b140f6659e6e110d37a7f8557c3da3669155b.zip |
fatfingers master
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r-- | src/ft_init_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c index 813a795..4ee8def 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -64,6 +64,7 @@ int8_t mlist->nly = 0; mlist->sprite_var = 0; mlist->topsp = 0; + ft_bzero(mlist->sprite_nbr, 4096); ft_bzero(mlist->sprite_order, 4096); ft_bzero(mlist->traps_order, 512); return (0); @@ -92,7 +93,6 @@ int8_t mlist->ismusic = 0; mlist->isskybox = 0; mlist->istraps = 0; - mlist->sprite_nbr = 0; mlist->traps_nbr = 0; mlist->darklvl = 0; return (ft_init_map_norme(mlist)); |