aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 19:07:38 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 19:07:38 +0100
commit8c3b79c41048539d01f689d2fd3262b9b08ed00b (patch)
tree8caf2d580961f59d35dd7df70a7825c79f1a6706 /src/ft_parse_map.c
parentAdded player list (diff)
download42-cub3d-8c3b79c41048539d01f689d2fd3262b9b08ed00b.tar.gz
42-cub3d-8c3b79c41048539d01f689d2fd3262b9b08ed00b.tar.bz2
42-cub3d-8c3b79c41048539d01f689d2fd3262b9b08ed00b.tar.xz
42-cub3d-8c3b79c41048539d01f689d2fd3262b9b08ed00b.tar.zst
42-cub3d-8c3b79c41048539d01f689d2fd3262b9b08ed00b.zip
Parsed player spawn
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 41cab3d..29f2c43 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -116,6 +116,7 @@ void
if (ft_get_map_core(fd, clist) < 0)
ft_map_error(clist);
ft_check_map_last_line(clist);
+ ft_get_player_spawn(clist->plist, clist);
ft_check_missing(clist);
ft_print_list(clist);
close(fd);