Allow suspicion level to become negative.
This commit is contained in:
parent
8f438c4467
commit
01376bfbb5
|
@ -183,7 +183,7 @@ static void checkCollisions(Bullet *b)
|
||||||
|
|
||||||
if (battle.hasSuspicionLevel)
|
if (battle.hasSuspicionLevel)
|
||||||
{
|
{
|
||||||
battle.suspicionLevel = MAX(0, battle.suspicionLevel - (MAX_SUSPICION_LEVEL * 0.01));
|
battle.suspicionLevel--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -571,7 +571,7 @@ static void die(void)
|
||||||
|
|
||||||
if (battle.hasSuspicionLevel)
|
if (battle.hasSuspicionLevel)
|
||||||
{
|
{
|
||||||
battle.suspicionLevel = MAX(0, battle.suspicionLevel - (MAX_SUSPICION_LEVEL * 0.1));
|
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (battle.isEpic)
|
if (battle.isEpic)
|
||||||
|
|
Loading…
Reference in New Issue