Pandorans will always kill the targets.

This commit is contained in:
Steve 2016-05-05 12:47:48 +01:00
parent a3993db7e1
commit 2ecf267037
1 changed files with 4 additions and 1 deletions

View File

@ -347,7 +347,8 @@ static int canAttack(Entity *e)
if (!(self->aiFlags & AIF_ASSASSIN)) if (!(self->aiFlags & AIF_ASSASSIN))
{ {
if (e->flags & EF_MUST_DISABLE) /* Pandorans will ignore the disable flag - Prisoners will not be taken, lives will not be spared */
if (e->flags & EF_MUST_DISABLE && e->side != SIDE_PANDORAN)
{ {
return e->systemPower > 0; return e->systemPower > 0;
} }
@ -759,6 +760,8 @@ static int nearJumpgate(void)
static void moveToJumpgate(void) static void moveToJumpgate(void)
{ {
self->target = battle.jumpgate;
faceTarget(self->target); faceTarget(self->target);
applyFighterThrust(); applyFighterThrust();