aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_sprites.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_sprites.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_sprites.c b/src/ft_init_sprites.c
index 4fa21bf..f39a692 100644
--- a/src/ft_init_sprites.c
+++ b/src/ft_init_sprites.c
@@ -25,7 +25,7 @@ t_sprite
if (!(sprites = (t_sprite**)ft_calloc(8, sizeof(t_sprite*))))
return (NULL);
i = 0;
- while (i < 9)
+ while (i < 8)
{
if (!(sprites[i] = (t_sprite*)ft_calloc(4096, sizeof(t_sprite))))
return (NULL);