From a126dec6a3ff78a118c09138af27a2f48f13adf8 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 28 Feb 2020 20:56:59 +0100 Subject: Normed --- src/ft_draw_textures.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ft_draw_textures.c') diff --git a/src/ft_draw_textures.c b/src/ft_draw_textures.c index d632182..39d6278 100644 --- a/src/ft_draw_textures.c +++ b/src/ft_draw_textures.c @@ -38,7 +38,8 @@ void ft_draw_texture(t_cub *cl, int x, int y, int tex_y) void ft_choose_tex(t_cub *clist) { - if (clist->rlist.sqy == clist->mlist->nlx && clist->rlist.sqx == clist->mlist->nly ) + if (clist->rlist.sqy == clist->mlist->nlx + && clist->rlist.sqx == clist->mlist->nly) { clist->w_side = 5; } -- cgit v1.2.3