hasThreats counts for active and inactive enemy vessels.
This commit is contained in:
parent
374afeaa07
commit
fa04c4bd1b
|
@ -217,11 +217,11 @@ void doEntities(void)
|
|||
{
|
||||
numSpawnedEnemies++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!(e->flags & EF_DISABLED))
|
||||
{
|
||||
battle.hasThreats = 1;
|
||||
}
|
||||
if (!(e->flags & EF_DISABLED))
|
||||
{
|
||||
battle.hasThreats = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue