Handle lowering suspicion level in main entity code.

This commit is contained in:
Steve 2016-05-19 08:52:34 +01:00
parent ee16c25a9b
commit c02c4686f3
2 changed files with 5 additions and 5 deletions

View File

@ -175,6 +175,11 @@ void doEntities(void)
{
battle.missionTarget = NULL;
}
if (e->killedBy == player && battle.hasSuspicionLevel)
{
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
}
if (e == player)
{

View File

@ -569,11 +569,6 @@ static void die(void)
incFighterStat(self->defName);
}
if (battle.hasSuspicionLevel)
{
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
}
if (battle.isEpic)
{
battle.stats[STAT_EPIC_KILL_STREAK]++;