From d1af4269c4130d11d77f61f1a2ac8f3e249f72f2 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Fri, 5 Mar 2021 16:54:26 +0100 Subject: unit generator in hud, minor fix in movement, % in view and cost weights --- hud/hud_views.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hud/hud_views.c') diff --git a/hud/hud_views.c b/hud/hud_views.c index 385501e..cd39611 100644 --- a/hud/hud_views.c +++ b/hud/hud_views.c @@ -43,7 +43,11 @@ void render_view_comp (SDL_Renderer* rend, txtd *t, int px, int py, } { int n = stats_frame_sprintf(info, comp->perc +lvl, arr); - for (int i=0; ibase_weapon +lvl, arr); @@ -51,7 +55,10 @@ void render_view_comp (SDL_Renderer* rend, txtd *t, int px, int py, } { int n = stats_weapon_sprintf(info, comp->perc_weapon +lvl, arr); - for (int i=0; i