diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-29 00:29:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-29 00:29:17 +0100 |
commit | 4fccd597e3c5c97144e4324c1371db9f7f039967 (patch) | |
tree | 25cb40e9a022ca66fa038864b771e6b0fb15fc05 /src/ft_parse_map.c | |
parent | All works but one thing is not ok (diff) | |
download | 42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.gz 42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.bz2 42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.xz 42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.tar.zst 42-cub3d-4fccd597e3c5c97144e4324c1371db9f7f039967.zip |
Works fine, preparing small map
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 7 |
1 files changed, 2 insertions, 5 deletions
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); } |