aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 02:11:22 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 02:11:31 +0100
commit40108b83398240f50c6045bfb2bf114bded43c72 (patch)
tree61e0e483e31e17724b2dd7e1a70088659e5be1bd /src/ft_init_map.c
parentBoy (diff)
download42-cub3d-40108b83398240f50c6045bfb2bf114bded43c72.tar.gz
42-cub3d-40108b83398240f50c6045bfb2bf114bded43c72.tar.bz2
42-cub3d-40108b83398240f50c6045bfb2bf114bded43c72.tar.xz
42-cub3d-40108b83398240f50c6045bfb2bf114bded43c72.tar.zst
42-cub3d-40108b83398240f50c6045bfb2bf114bded43c72.zip
Reparse, may not compile
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 1c12189..457f241 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -25,6 +25,8 @@ static int8_t
!(mlist->we_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->sprite_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->nl_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
+ !(mlist->fl_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
+ !(mlist->ce_tex_path = (char*)ft_calloc(1, sizeof(char))) ||
!(mlist->nlevel_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))) ||
@@ -52,6 +54,8 @@ int8_t
mlist->line_chk = 0;
mlist->map_start = 0;
mlist->isspawn = 0;
+ mlist->iftex = 0;
+ mlist->ictex = 0;
mlist->isnlvl = 0;
mlist->ismusic = 0;
mlist->scale = 0;