diff --git a/src/battle/ai.c b/src/battle/ai.c index f4197d4..9d8bc2a 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -503,7 +503,7 @@ static void preAttack(void) { fireGuns(self); } - else if (self->missiles && (!(self->target->flags & (EF_NO_KILL|EF_MUST_DISABLE))) && getDistance(self->x, self->y, self->target->x, self->target->y) >= 350) + else if (self->missiles && (!(self->target->flags & (EF_NO_KILL|EF_MUST_DISABLE|EF_FRIENDLY_HEALTH_BAR))) && getDistance(self->x, self->y, self->target->x, self->target->y) >= 350) { fireMissile(self);