From de2a29e4b60f343565ab946ddaf878cee4096441 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 19 May 2016 10:54:25 +0100 Subject: [PATCH] Show suspicion % on HUD. --- src/battle/hud.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/battle/hud.c b/src/battle/hud.c index edba26e..8c6aabf 100644 --- a/src/battle/hud.c +++ b/src/battle/hud.c @@ -626,10 +626,7 @@ static void drawSuspicionLevel(void) SDL_RenderFillRect(app.renderer, &r); - if (dev.debug) - { - drawText(r.x + r.w + 7, SCREEN_HEIGHT - 57, 12, TA_LEFT, colors.white, "%d", (battle.suspicionLevel / 10)); - } + drawText(r.x + r.w + 7, SCREEN_HEIGHT - 57, 12, TA_LEFT, colors.white, "%d%%", getPercent(battle.suspicionLevel, MAX_SUSPICION_LEVEL)); } void resetHud(void)