diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 02:29:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 02:29:21 +0100 |
commit | ee87f5ee4aa1c79d1dedf95994a392282aa4bd16 (patch) | |
tree | d438d5e46a10aa4d11dd670f9e0469ce257f426a /src/ft_exit.c | |
parent | OSEF again (diff) | |
download | 42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.gz 42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.bz2 42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.xz 42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.zst 42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.zip |
Music is bav but can't kill
Diffstat (limited to 'src/ft_exit.c')
-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 423350d..493e00f 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -53,7 +53,7 @@ int mlx_destroy_image(clist->wlist->wlx, clist->tlist[3].img); if (clist->tlist[4].img) mlx_destroy_image(clist->wlist->wlx, clist->tlist[4].img); - if (clist->mlist->isnlvl && clist->tlist[5].img) + if (clist->tlist[5].img && clist->mlist->isnlvl) mlx_destroy_image(clist->wlist->wlx, clist->tlist[5].img); } if (clist->wlist->inited) |