Clip suspicion level to 0 on HUD.

This commit is contained in:
Steve 2016-05-18 09:48:56 +01:00
parent 0b1045cadc
commit 5999bc12d6
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ static void drawSuspicionLevel(void)
r.w -= 4;
r.h -= 4;
r.w = (r.w / MAX_SUSPICION_LEVEL) * battle.suspicionLevel;
r.w = MAX((r.w / MAX_SUSPICION_LEVEL) * battle.suspicionLevel, 0);
if (battle.suspicionLevel < (MAX_SUSPICION_LEVEL * 0.5))
{