aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-28 16:46:40 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-28 16:46:40 +0100
commitb3aecb150f55ebc9dde7c1b09559d1566e9e92a6 (patch)
treefec17255ec594ddfb6f98121d987ada32461db06 /src/ft_init_map.c
parentnormed (diff)
download42-cub3d-b3aecb150f55ebc9dde7c1b09559d1566e9e92a6.tar.gz
42-cub3d-b3aecb150f55ebc9dde7c1b09559d1566e9e92a6.tar.bz2
42-cub3d-b3aecb150f55ebc9dde7c1b09559d1566e9e92a6.tar.xz
42-cub3d-b3aecb150f55ebc9dde7c1b09559d1566e9e92a6.tar.zst
42-cub3d-b3aecb150f55ebc9dde7c1b09559d1566e9e92a6.zip
All in sprites
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 1859afe..a7f82f5 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -64,18 +64,12 @@ int8_t
mlist->nlx = 0;
mlist->nly = 0;
mlist->sprite_var = 0;
- mlist->weapon_var = 0;
mlist->topsp = 0;
ft_bzero(mlist->sprite_nbr, FT_TOTAL_SPRT);
i = -1;
while (++i < FT_TOTAL_SPRT)
ft_bzero(mlist->sprite_order[i], 4096);
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;
- mlist->weaps_nbr[2] = 0;
- ft_bzero(mlist->weaps_order, 1);
return (0);
}
@@ -102,6 +96,5 @@ int8_t
mlist->isskybox = 0;
mlist->istraps = 0;
mlist->isheals = 0;
- mlist->heals_nbr = 0;
return (ft_init_map_norme(mlist));
}