Restore "always ignore bad targets" for Classic difficulty.
This commit is contained in:
parent
122624f89e
commit
c142191f6f
|
@ -1720,11 +1720,18 @@ void alien_searchForTarget(Object *alien)
|
||||||
badTarget = 1;
|
badTarget = 1;
|
||||||
|
|
||||||
if (badTarget)
|
if (badTarget)
|
||||||
|
{
|
||||||
|
if (game.difficulty == DIFFICULTY_ORIGINAL)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
alien->badTargetCount++;
|
alien->badTargetCount++;
|
||||||
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
|
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
alien->target = targetEnemy;
|
alien->target = targetEnemy;
|
||||||
alien->badTargetCount = 0;
|
alien->badTargetCount = 0;
|
||||||
|
|
Loading…
Reference in New Issue