Don't check for team mates if the player is on the side of the Pandorans.
This commit is contained in:
parent
c090942f81
commit
e5092291d3
|
@ -110,6 +110,8 @@ static int teamMatesClose(void)
|
|||
{
|
||||
Entity *e;
|
||||
|
||||
if (player->side != SIDE_PANDORAN)
|
||||
{
|
||||
for (e = battle.entityHead.next ; e != NULL ; e = e->next)
|
||||
{
|
||||
if (e->active && e->type == ET_FIGHTER && e->side == SIDE_ALLIES)
|
||||
|
@ -122,6 +124,7 @@ static int teamMatesClose(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue