diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 17:53:31 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 17:53:31 +0100 |
commit | 480d5dc1d132a49871d4143aed1e11deb688515f (patch) | |
tree | 6a74eed1d4985ac554c82e45bca40425e6ed2555 /src/ft_draw_hud.c | |
parent | Tweaked the effect (diff) | |
download | 42-cub3d-480d5dc1d132a49871d4143aed1e11deb688515f.tar.gz 42-cub3d-480d5dc1d132a49871d4143aed1e11deb688515f.tar.bz2 42-cub3d-480d5dc1d132a49871d4143aed1e11deb688515f.tar.xz 42-cub3d-480d5dc1d132a49871d4143aed1e11deb688515f.tar.zst 42-cub3d-480d5dc1d132a49871d4143aed1e11deb688515f.zip |
Ready to merge
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_hud.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index 7e50ea0..121e85e 100644 --- a/src/ft_draw_hud.c +++ b/src/ft_draw_hud.c @@ -16,9 +16,8 @@ static void ft_put_image_back_to_ptr(uint16_t y, uint16_t x, t_cub *cl) { - uint32_t col; + const uint32_t col = 0x00d2d4d6; - col = 0x00d6d6d6; *(cl->img.ptr + x * 4 + (cl->img.sizeline * y)) = (uint8_t)*(cl->tlist[16].ptr + cl->tlist[16].tex_x * 4 + 4 * cl->tlist[16].img_w * cl->tlist[16].tex_y) & col; |