aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 15:38:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 15:38:28 +0100
commit1363bda556bf08657bf19ff79e93319c17c22fc1 (patch)
tree9d67fd461d9dec00b65deba03aca94cda7cae0dd /src/ft_parse_map.c
parentPretty bav (diff)
download42-cub3d-1363bda556bf08657bf19ff79e93319c17c22fc1.tar.gz
42-cub3d-1363bda556bf08657bf19ff79e93319c17c22fc1.tar.bz2
42-cub3d-1363bda556bf08657bf19ff79e93319c17c22fc1.tar.xz
42-cub3d-1363bda556bf08657bf19ff79e93319c17c22fc1.tar.zst
42-cub3d-1363bda556bf08657bf19ff79e93319c17c22fc1.zip
More norm
Diffstat (limited to '')
-rw-r--r--src/ft_parse_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 057b053..46fe022 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -74,7 +74,7 @@ static int8_t
return (ret);
}
-void
+static void
ft_save_name(const char *map_path, t_cub *clist)
{
ft_memdel((void*)&clist->mlist.filename);
@@ -105,7 +105,7 @@ void
ft_map_error(clist->errmsg, clist);
ft_check_map_last_line(clist);
ft_check_map_surrounds(&clist->mlist, clist);
- ft_get_player_spawn(&clist->plist, clist);
+ ft_get_spawns(clist);
ft_get_nlvl_pos(&clist->mlist);
ft_check_missing(clist);
ft_set_minimap_scale(clist);