diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_textures.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |