aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_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_get_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 '')
-rw-r--r--src/ft_get_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_get_map.c b/src/ft_get_map.c
index 00de520..b64da72 100644
--- a/src/ft_get_map.c
+++ b/src/ft_get_map.c
@@ -51,6 +51,7 @@ static int8_t
int
ft_get_map_first_line(char *line, t_cub *clist)
{
+ clist->map_start = clist->line_chk;
if (!line[0])
{
ft_memdel((void**)&line);