aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 16:26:01 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 16:26:01 +0100
commitfe1ebcad396caed49253df48ad87ccd9261246bf (patch)
treeacdfe8223fb2ac604c3551b4b5d66a608d12e2a7 /src/ft_init_map.c
parentStack overflow fix (diff)
download42-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.c2
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);