aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 400bdd4..afb1d88 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -100,6 +100,10 @@ void
ft_get_player_spawn(clist->plist, clist);
ft_get_nlvl_pos(clist->mlist);
ft_check_missing(clist);
- ft_set_minimap_scale(clist);
+ if (clist->currlvl == 0)
+ {
+ ft_set_minimap_scale(clist);
+ clist->currlvl += 1;
+ }
close(fd);
}