Allow suspicion level to become negative.

This commit is contained in:
Steve 2016-05-18 09:48:06 +01:00
parent 8f438c4467
commit 01376bfbb5
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ static void checkCollisions(Bullet *b)
if (battle.hasSuspicionLevel)
{
battle.suspicionLevel = MAX(0, battle.suspicionLevel - (MAX_SUSPICION_LEVEL * 0.01));
battle.suspicionLevel--;
}
}

View File

@ -571,7 +571,7 @@ static void die(void)
if (battle.hasSuspicionLevel)
{
battle.suspicionLevel = MAX(0, battle.suspicionLevel - (MAX_SUSPICION_LEVEL * 0.1));
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
}
if (battle.isEpic)