aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_del_sprites_lists.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_del_sprites_lists.c (renamed from src/ft_del_lists.c)11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/ft_del_lists.c b/src/ft_del_sprites_lists.c
index e1a5288..72e5fa9 100644
--- a/src/ft_del_lists.c
+++ b/src/ft_del_sprites_lists.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_del_lists.c :+: :+: :+: */
+/* ft_del_sprites_lists.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -15,18 +15,11 @@
#include <stdint.h>
void
- ft_del_lists(t_cub *clist)
+ ft_del_sprites_lists(t_cub *clist)
{
uint8_t i;
i = 0;
- while (i < 10)
- {
- ft_memdel((void*)&clist->sfx[i].cmd);
- i++;
- }
- ft_memdel((void*)&clist->sfx[1].cmd_alt);
- ft_memdel((void*)&clist->sfx[3].cmd_alt);
while (i < 8)
{
ft_memdel((void*)&clist->sprites[i]);