summaryrefslogtreecommitdiff
path: root/src/ai/ai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai.cpp')
-rw-r--r--src/ai/ai.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai.cpp b/src/ai/ai.cpp
index fafafbc21..c32f52ad8 100644
--- a/src/ai/ai.cpp
+++ b/src/ai/ai.cpp
@@ -212,7 +212,7 @@ void AI_RunGameLoop()
*/
void AI_StartNewAI(PlayerID player)
{
- assert(IsValidPlayer(player));
+ assert(IsValidPlayerID(player));
/* Called if a new AI is booted */
_ai_player[player].active = true;