aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 09:17:49 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 09:17:49 +0100
commit79af897f235b2172ce37e6d30b829fa0928aef3a (patch)
treed585fe7f2ab852c7ebc781e553669a6cff34034d /src/ft_init_map.c
parentft_calc_sprite in a better location, still sliding like a champ (diff)
download42-cub3d-79af897f235b2172ce37e6d30b829fa0928aef3a.tar.gz
42-cub3d-79af897f235b2172ce37e6d30b829fa0928aef3a.tar.bz2
42-cub3d-79af897f235b2172ce37e6d30b829fa0928aef3a.tar.xz
42-cub3d-79af897f235b2172ce37e6d30b829fa0928aef3a.tar.zst
42-cub3d-79af897f235b2172ce37e6d30b829fa0928aef3a.zip
Good trap init
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 27b4a39..f2b0726 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -29,6 +29,7 @@ static int8_t
!(mlist->ce_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->nlevel_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->skybox_path = (char*)ft_calloc(1, sizeof(char))) ||
+ !(mlist->traps_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->music_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->music_cmd = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->mapl = (char*)ft_calloc(1, sizeof(char))) ||
@@ -60,6 +61,7 @@ int8_t
mlist->isnlvl = 0;
mlist->ismusic = 0;
mlist->isskybox = 0;
+ mlist->istrap = 0;
mlist->darklvl = 0;
mlist->scale = 0;
mlist->nlx = 0;