From 72454c55ab9075fc5f52d8af8c85de74e807dcd2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 14 Mar 2020 19:10:57 +0100 Subject: In progress --- src/ft_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_exit.c') diff --git a/src/ft_exit.c b/src/ft_exit.c index e7b344e..f1da643 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -69,6 +69,7 @@ static void mlx_destroy_image(clist->wlist.wlx, clist->tlist[7].img); if (clist->mlist.istraps && clist->tlist[15].img) mlx_destroy_image(clist->wlist.wlx, clist->tlist[15].img); + ft_del_extra_sprites(clist); } static void @@ -98,7 +99,6 @@ int { if (clist->walltexgood) ft_del_tex(clist); - ft_del_extra_sprites(clist); if (clist->wlist.inited) { if (FT_OS == 1) -- cgit v1.2.3