aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_tex_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 10:16:48 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 10:16:48 +0100
commitc581c7e3543058f015bddf96d76ac2d771ea40a0 (patch)
treeb3c8fe72a65ac834fcd7edaef4e2887f49d53c90 /src/ft_tex_init.c
parentParsed traps (diff)
download42-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_tex_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c
index 32bfb66..30b738e 100644
--- a/src/ft_tex_init.c
+++ b/src/ft_tex_init.c
@@ -71,7 +71,7 @@ static void
cl->tlist[6].ptr = mlx_get_data_addr(cl->tlist[6].img,
&cl->tlist[6].bpp, &cl->tlist[6].sizeline, &cl->tlist[6].endian);
}
- if (cl->mlist.istrap)
+ if (cl->mlist.istraps)
{
cl->tlist[15].img = mlx_xpm_file_to_image(cl->wlist.wlx,
cl->mlist.traps_path, &cl->tlist[15].img_w, &cl->tlist[15].img_h);