diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_hud.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index 31d5021..e852ec1 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 + (27 * cl->mlist.scale))) + * cl->mlist.scale) + 20 + (28 * 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 + (27 * scl)) + while (x < (map_w * scl) + 20 + (28 * scl)) { while (y < wl->y_size) y++; @@ -107,7 +107,7 @@ int8_t ft_draw_minimap_back(clist->mlist.map_h, clist->mlist.map_w, &clist->wlist, clist); ft_draw_map(clist->mlist.map, clist); - ft_draw_life_bar(&clist->wlist, clist); + ft_draw_life_bar(clist); if (clist->mlist.isnlvl) { ft_draw_stage_back(clist); |