aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c2
1 files changed, 1 insertions, 1 deletions
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++;
}