diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
commit | c0264d533fc95639c8eeb570d131746f67d64fe9 (patch) | |
tree | a8e65f808c8c88060a3e22a130c8963e546619de /src/ft_floor_cast.c | |
parent | removed bloat (diff) | |
download | 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.gz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.bz2 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.xz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.zst 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.zip |
Removed skybox related bloat
Diffstat (limited to 'src/ft_floor_cast.c')
-rw-r--r-- | src/ft_floor_cast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_floor_cast.c b/src/ft_floor_cast.c index 347f8d0..08f84c5 100644 --- a/src/ft_floor_cast.c +++ b/src/ft_floor_cast.c @@ -55,11 +55,11 @@ void } else ft_draw_plain_horizontal(cl->f_rgb, cl, y, x); - if (cl->mlist.isctex && !cl->mlist.isskybox) + if (cl->mlist.isctex) { ft_draw_extra_tex(7, cl->wlist.y_size - y - 1, x, cl); } - else if (!cl->mlist.isctex && !cl->mlist.isskybox) + else if (!cl->mlist.isctex) ft_draw_plain_horizontal(cl->c_rgb, cl, cl->wlist.y_size - y - 1, x); } |