diff options
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index f5e491f..5a72bd8 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -120,7 +120,7 @@ void ft_get_player_spawn(clist->plist, clist); ft_check_missing(clist); clist->scale = ((uint16_t)clist->wlist->x_size / - (uint16_t)clist->map_w) - 2; + (uint16_t)clist->map_w) - 1; ft_print_list(clist); close(fd); } |