diff options
Diffstat (limited to 'src/ai/ai.cpp')
-rw-r--r-- | src/ai/ai.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai.cpp b/src/ai/ai.cpp index c32f52ad8..1bf72f805 100644 --- a/src/ai/ai.cpp +++ b/src/ai/ai.cpp @@ -193,7 +193,7 @@ void AI_RunGameLoop() const Player* p; FOR_ALL_PLAYERS(p) { - if (p->is_active && p->is_ai) { + if (p->is_ai) { /* This should always be true, else something went wrong... */ assert(_ai_player[p->index].active); @@ -249,6 +249,6 @@ void AI_Uninitialize() const Player* p; FOR_ALL_PLAYERS(p) { - if (p->is_active && p->is_ai) AI_PlayerDied(p->index); + if (p->is_ai) AI_PlayerDied(p->index); } } |