Pandorans will always kill the targets.
This commit is contained in:
parent
a3993db7e1
commit
2ecf267037
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue