aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_del_sprites_lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_del_sprites_lists.c')
-rw-r--r--src/ft_del_sprites_lists.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_del_sprites_lists.c b/src/ft_del_sprites_lists.c
index bb382e6..613ac82 100644
--- a/src/ft_del_sprites_lists.c
+++ b/src/ft_del_sprites_lists.c
@@ -17,10 +17,10 @@
void
ft_del_sprites_lists(t_cub *clist)
{
- uint8_t i;
+ int8_t i;
i = 0;
- while (i < 8)
+ while (i < FT_TOTAL_SPRT)
{
ft_memdel((void*)&clist->sprites[i]);
i++;