Restore "always ignore bad targets" for Classic difficulty.
This commit is contained in:
parent
122624f89e
commit
c142191f6f
11
src/alien.c
11
src/alien.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue