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++;
|
numSpawnedEnemies++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!(e->flags & EF_DISABLED))
|
if (!(e->flags & EF_DISABLED))
|
||||||
{
|
{
|
||||||
battle.hasThreats = 1;
|
battle.hasThreats = 1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue