aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 17:02:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 17:02:43 +0100
commit2e1956c5a647de9330925162a10c8619c19d1ce3 (patch)
tree8aff5c6b9196f03d02a74c8f48a5049c868568c0 /src/ft_draw_hud.c
parentNorm so far (diff)
download42-cub3d-2e1956c5a647de9330925162a10c8619c19d1ce3.tar.gz
42-cub3d-2e1956c5a647de9330925162a10c8619c19d1ce3.tar.bz2
42-cub3d-2e1956c5a647de9330925162a10c8619c19d1ce3.tar.xz
42-cub3d-2e1956c5a647de9330925162a10c8619c19d1ce3.tar.zst
42-cub3d-2e1956c5a647de9330925162a10c8619c19d1ce3.zip
Reduced life number width
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index d98ff31..868d149 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -45,7 +45,7 @@ static void
x = 0;
cl->tlist[16].tex_y = (y * y_ratio) >> 16;
while (x < (uint16_t)((cl->mlist.map_w
- * cl->mlist.scale) + 20 + (32 * cl->mlist.scale)))
+ * cl->mlist.scale) + 20 + (24 * cl->mlist.scale)))
{
cl->tlist[16].tex_x = (x * x_ratio) >> 16;
ft_put_image_back_to_ptr(y, x, cl);