diff options
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 4 |
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); |