aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 0dfb779..2b5265d 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -61,7 +61,7 @@ static int8_t
ft_memdel((void**)&line);
return (ft_parse_it(fd, clist));
}
- if (!ft_ischarset("RNSEWFC1\0", line[0])
+ if (!ft_ischarset("RNSEWFCL1\0", line[0])
|| !(words = ft_split(line, ' ')))
return (ft_error_here(FT_ERR_ILL_ENTRY, line, clist));
if ((ret = ft_select_get(words, clist)) == 12)
@@ -98,6 +98,7 @@ void
ft_map_error(clist->errmsg, clist);
ft_check_map_last_line(clist);
ft_get_player_spawn(clist->plist, clist);
+ ft_get_nlvl_pos(clist->mlist);
ft_check_missing(clist);
ft_set_minimap_scale(clist);
close(fd);