Include capital ships in initial enemy count.
This commit is contained in:
parent
a2736e1533
commit
1acd6f7cf4
|
@ -605,6 +605,7 @@ void countNumEnemies(void)
|
|||
for (e = battle.entityHead.next ; e != NULL ; e = e->next)
|
||||
{
|
||||
if (e->side != SIDE_ALLIES && e->type == ET_FIGHTER && (!(e->flags & EF_NO_THREAT)))
|
||||
if (e->side != SIDE_ALLIES && (e->type == ET_FIGHTER || e->type == ET_CAPITAL_SHIP) && (!(e->flags & EF_NO_THREAT)))
|
||||
{
|
||||
battle.numInitialEnemies++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue