aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:46:00 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-18 22:46:00 +0100
commitfb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3 (patch)
tree9b842ddd18c30696af19efffcd2241f02c580c7c /src/ft_init_map.c
parentBug fix (diff)
parentfatfingers master (diff)
download42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.gz
42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.bz2
42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.xz
42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.zst
42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.zip
Merge branch 'better_sprites'
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 d610fac..37fc858 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -62,6 +62,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);
@@ -90,7 +91,6 @@ int8_t
mlist->isskybox = 0;
mlist->istraps = 0;
mlist->isheals = 0;
- mlist->sprite_nbr = 0;
mlist->traps_nbr = 0;
mlist->heals_nbr = 0;
mlist->darklvl = 0;