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)
|
||||
{
|
||||
alien->badTargetCount++;
|
||||
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
alien->badTargetCount++;
|
||||
if (alien->badTargetCount < BAD_TARGET_ALLOW_TIME)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
alien->target = targetEnemy;
|
||||
|
|
Loading…
Reference in New Issue