From fcf4c36c2027d268afd7925785e8588fcb2d920c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Mon, 9 Mar 2020 20:50:36 +0100 Subject: Not done --- src/ft_floor_cast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_floor_cast.c') diff --git a/src/ft_floor_cast.c b/src/ft_floor_cast.c index 6111eca..104fb49 100644 --- a/src/ft_floor_cast.c +++ b/src/ft_floor_cast.c @@ -75,9 +75,9 @@ static void ft_draw_extra_tex(6, y, x, cl); else ft_draw_plain_horizontal(cl->f_rgb, cl, y, x); - if (cl->mlist.isctex) + if (cl->mlist.isctex && !cl->mlist.isskybox) ft_draw_extra_tex(7, cl->wlist.y_size - y - 1, x, cl); - else + else if (!cl->mlist.isctex && !cl->mlist.isskybox) ft_draw_plain_horizontal(cl->c_rgb, cl, cl->wlist.y_size - y - 1, x); } -- cgit v1.2.3