summaryrefslogtreecommitdiff
path: root/src/ai/ai.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai.hpp')
-rw-r--r--src/ai/ai.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp
index 2d5355a9c..af1888914 100644
--- a/src/ai/ai.hpp
+++ b/src/ai/ai.hpp
@@ -102,12 +102,12 @@ public:
/**
* Queue a new event for an AI.
*/
- static void NewEvent(CompanyID company, AIEvent *event);
+ static void NewEvent(CompanyID company, ScriptEvent *event);
/**
* Broadcast a new event to all active AIs.
*/
- static void BroadcastNewEvent(AIEvent *event, CompanyID skip_company = MAX_COMPANIES);
+ static void BroadcastNewEvent(ScriptEvent *event, CompanyID skip_company = MAX_COMPANIES);
/**
* Save data from an AI to a savegame.