diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-14 18:57:10 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-14 18:57:10 +0100 |
commit | f5e4e2f56a9d1b6019cc937e1291930455502c99 (patch) | |
tree | f89f14a43145af99e0a639a5209c067149436189 /src/ft_draw_verline.c | |
parent | Norme is bav (diff) | |
download | 42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.gz 42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.bz2 42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.xz 42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.zst 42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.zip |
Bug fix, changed rot speed
Diffstat (limited to 'src/ft_draw_verline.c')
-rw-r--r-- | src/ft_draw_verline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c index 6584bcb..d7ebe34 100644 --- a/src/ft_draw_verline.c +++ b/src/ft_draw_verline.c @@ -15,7 +15,7 @@ static void ft_draw_floor(t_cub *cl, int32_t y, int32_t x) { - while (y <= cl->wlist->y_size) + while (y < cl->wlist->y_size) { *(int*)(cl->img.ptr + (x * 4 + (y * cl->img.sizeline))) = ft_rgb_to_hex(cl->f_rgb); |