Show suspicion % on HUD.
This commit is contained in:
parent
6387739c2b
commit
de2a29e4b6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue