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_warp_level.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 'src/ft_warp_level.c')
-rw-r--r-- | src/ft_warp_level.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index a4f705b..faaf322 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -61,7 +61,7 @@ static void mlx_destroy_image(cl->wlist.wlx, cl->tlist[6].img); if (cl->mlist.isctex && cl->tlist[7].img) mlx_destroy_image(cl->wlist.wlx, cl->tlist[7].img); - if (cl->mlist.istrap && cl->tlist[15].img) + if (cl->mlist.istraps && cl->tlist[15].img) mlx_destroy_image(cl->wlist.wlx, cl->tlist[15].img); } |