From fa04c4bd1b54683139351ddf9a5721c26afa7b0f Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 15 May 2016 17:38:44 +0100 Subject: [PATCH] hasThreats counts for active and inactive enemy vessels. --- src/battle/entities.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/battle/entities.c b/src/battle/entities.c index 04a4ff4..4547ccc 100644 --- a/src/battle/entities.c +++ b/src/battle/entities.c @@ -217,11 +217,11 @@ void doEntities(void) { numSpawnedEnemies++; } - - if (!(e->flags & EF_DISABLED)) - { - battle.hasThreats = 1; - } + } + + if (!(e->flags & EF_DISABLED)) + { + battle.hasThreats = 1; } } }