Restore "always ignore bad targets" for Classic difficulty.

This commit is contained in:
Julie Marchant 2019-06-22 08:48:06 -04:00
parent 122624f89e
commit c142191f6f
1 changed files with 9 additions and 2 deletions

View File

@ -1721,9 +1721,16 @@ void alien_searchForTarget(Object *alien)
if (badTarget) if (badTarget)
{ {
alien->badTargetCount++; if (game.difficulty == DIFFICULTY_ORIGINAL)
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME) {
return; return;
}
else
{
alien->badTargetCount++;
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
return;
}
} }
alien->target = targetEnemy; alien->target = targetEnemy;