Show suspicion % on HUD.

This commit is contained in:
Steve 2016-05-19 10:54:25 +01:00
parent 6387739c2b
commit de2a29e4b6
1 changed files with 1 additions and 4 deletions

View File

@ -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)