From 4fccd597e3c5c97144e4324c1371db9f7f039967 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 29 Feb 2020 00:29:17 +0100 Subject: Works fine, preparing small map --- src/ft_parse_map.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/ft_parse_map.c') diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index afb1d88..c2fb593 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -100,10 +100,7 @@ void ft_get_player_spawn(clist->plist, clist); ft_get_nlvl_pos(clist->mlist); ft_check_missing(clist); - if (clist->currlvl == 0) - { - ft_set_minimap_scale(clist); - clist->currlvl += 1; - } + ft_set_minimap_scale(clist); + clist->currlvl += 1; close(fd); } -- cgit v1.2.3