From 58b4de9b6a6fbd2356fa8ed81eae274330cc17ec Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 21 Mar 2020 20:52:26 +0100 Subject: Fix --- 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 477a0ec..e2a8676 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -39,7 +39,7 @@ static void i = 0; while (i < 2) { - if (clist->mlist.isweapon[i] && clist->tlist[i + 18].img) + if (clist->tlist[i + 18].img) mlx_destroy_image(clist->wlist.wlx, clist->tlist[i + 18].img); i++; } -- cgit v1.2.3