aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_del_sprites_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 13:55:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 13:55:24 +0100
commitb626f171f26f709b27e790911b48f7a4272dc707 (patch)
treede04209c5ffecc5f26baac853951bc1748c925d4 /src/ft_del_sprites_lists.c
parentReady to try traps (diff)
download42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.gz
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.bz2
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.xz
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.zst
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.zip
In progress
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++;