diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 10:16:48 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 10:16:48 +0100 |
commit | c581c7e3543058f015bddf96d76ac2d771ea40a0 (patch) | |
tree | b3c8fe72a65ac834fcd7edaef4e2887f49d53c90 /src/ft_exit.c | |
parent | Parsed traps (diff) | |
download | 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.gz 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.bz2 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.xz 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.zst 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.zip |
Nice parse
Diffstat (limited to '')
-rw-r--r-- | src/ft_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 4125567..4a131c8 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -62,7 +62,7 @@ static void mlx_destroy_image(clist->wlist.wlx, clist->tlist[6].img); if (clist->mlist.isctex && clist->tlist[7].img) mlx_destroy_image(clist->wlist.wlx, clist->tlist[7].img); - if (clist->mlist.istrap && clist->tlist[15].img) + if (clist->mlist.istraps && clist->tlist[15].img) mlx_destroy_image(clist->wlist.wlx, clist->tlist[15].img); } |