diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:39:54 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:39:54 +0100 |
commit | 54a87749b47b094d54858f563fe7796a2209d83b (patch) | |
tree | a71193743cd07ad497218ae461f03212bf437994 | |
parent | Freed leaks (diff) | |
download | 42-cub3d-54a87749b47b094d54858f563fe7796a2209d83b.tar.gz 42-cub3d-54a87749b47b094d54858f563fe7796a2209d83b.tar.bz2 42-cub3d-54a87749b47b094d54858f563fe7796a2209d83b.tar.xz 42-cub3d-54a87749b47b094d54858f563fe7796a2209d83b.tar.zst 42-cub3d-54a87749b47b094d54858f563fe7796a2209d83b.zip |
Stupid me
Diffstat (limited to '')
-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 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; |