aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_hud.c3
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;