diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:56:59 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:56:59 +0100 |
commit | a126dec6a3ff78a118c09138af27a2f48f13adf8 (patch) | |
tree | 05c9d52c14d865543d9f4d87a9d73dee6541a0ff /src/ft_draw_textures.c | |
parent | Right but not perfect (diff) | |
download | 42-cub3d-a126dec6a3ff78a118c09138af27a2f48f13adf8.tar.gz 42-cub3d-a126dec6a3ff78a118c09138af27a2f48f13adf8.tar.bz2 42-cub3d-a126dec6a3ff78a118c09138af27a2f48f13adf8.tar.xz 42-cub3d-a126dec6a3ff78a118c09138af27a2f48f13adf8.tar.zst 42-cub3d-a126dec6a3ff78a118c09138af27a2f48f13adf8.zip |
Normed
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; } |