From 658997a30b6324fcf5b517b78148958b4a1e0e66 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 20 Mar 2020 18:25:17 +0100 Subject: it's not working at all --- src/ft_draw_hud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_draw_hud.c') diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index e852ec1..5feab32 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 + (28 * cl->mlist.scale))) + * cl->mlist.scale) + 20 + (32 * cl->mlist.scale))) { cl->tlist[16].tex_x = (x * x_ratio) >> 16; ft_put_image_back_to_ptr(y, x, cl); @@ -64,7 +64,7 @@ static void x = 0; y = wl->y_size - (map_h * scl) - 20; - while (x < (map_w * scl) + 20 + (28 * scl)) + while (x < (map_w * scl) + 20 + (32 * scl)) { while (y < wl->y_size) y++; -- cgit v1.2.3