diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-26 16:26:01 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-26 16:26:01 +0100 |
commit | fe1ebcad396caed49253df48ad87ccd9261246bf (patch) | |
tree | acdfe8223fb2ac604c3551b4b5d66a608d12e2a7 /src/ft_init_map.c | |
parent | Stack overflow fix (diff) | |
download | 42-cub3d-fe1ebcad396caed49253df48ad87ccd9261246bf.tar.gz 42-cub3d-fe1ebcad396caed49253df48ad87ccd9261246bf.tar.bz2 42-cub3d-fe1ebcad396caed49253df48ad87ccd9261246bf.tar.xz 42-cub3d-fe1ebcad396caed49253df48ad87ccd9261246bf.tar.zst 42-cub3d-fe1ebcad396caed49253df48ad87ccd9261246bf.zip |
Better parse
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c index b3bfa46..f2f2d94 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -45,7 +45,7 @@ static int8_t uint8_t i; i = 0; - while (i < 8) + while (i < 9) { if (!(mlist->sprite_path[i] = (char*)ft_calloc(1, sizeof(char)))) return (-1); |