aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_floor_cast_inits.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-28 15:21:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-28 15:21:21 +0100
commitc0264d533fc95639c8eeb570d131746f67d64fe9 (patch)
treea8e65f808c8c88060a3e22a130c8963e546619de /src/ft_floor_cast_inits.c
parentremoved bloat (diff)
download42-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_inits.c')
-rw-r--r--src/ft_floor_cast_inits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_floor_cast_inits.c b/src/ft_floor_cast_inits.c
index 68bb0c7..92b660b 100644
--- a/src/ft_floor_cast_inits.c
+++ b/src/ft_floor_cast_inits.c
@@ -61,7 +61,7 @@ void
{
if (cl->mlist.isftex)
ft_set_fc_tex_xy(6, x, y, cl);
- if (cl->mlist.isctex && !cl->mlist.isskybox)
+ if (cl->mlist.isctex)
ft_set_fc_tex_xy(7, x, cl->wlist.y_size - y - 1, cl);
}
cl->rlist.x_floor += cl->mlist.x_floor_step;