Don't check for team mates if the player is on the side of the Pandorans.

This commit is contained in:
Steve 2016-05-20 09:52:23 +01:00
parent c090942f81
commit e5092291d3
1 changed files with 9 additions and 6 deletions

View File

@ -110,6 +110,8 @@ static int teamMatesClose(void)
{ {
Entity *e; Entity *e;
if (player->side != SIDE_PANDORAN)
{
for (e = battle.entityHead.next ; e != NULL ; e = e->next) for (e = battle.entityHead.next ; e != NULL ; e = e->next)
{ {
if (e->active && e->type == ET_FIGHTER && e->side == SIDE_ALLIES) if (e->active && e->type == ET_FIGHTER && e->side == SIDE_ALLIES)
@ -122,6 +124,7 @@ static int teamMatesClose(void)
} }
} }
} }
}
return 1; return 1;
} }