aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_floor_cast.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_floor_cast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_floor_cast.c b/src/ft_floor_cast.c
index 1082fe5..36c759f 100644
--- a/src/ft_floor_cast.c
+++ b/src/ft_floor_cast.c
@@ -23,8 +23,8 @@ static void
static void
ft_draw_extra_tex(uint8_t tid, uint16_t y, uint16_t x, t_cub *cl)
{
- float dist;
- float calc;
+ float dist;
+ float calc;
if ((dist = cl->rlist.row_dist) <= 0)
dist = 0.0001;