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

@ -1720,11 +1720,18 @@ void alien_searchForTarget(Object *alien)
badTarget = 1;
if (badTarget)
{
if (game.difficulty == DIFFICULTY_ORIGINAL)
{
return;
}
else
{
alien->badTargetCount++;
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
return;
}
}
alien->target = targetEnemy;
alien->badTargetCount = 0;