summaryrefslogtreecommitdiff
path: root/ai/ai_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'ai/ai_event.h')
-rw-r--r--ai/ai_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/ai_event.h b/ai/ai_event.h
index d1daf7804..81aa9e89a 100644
--- a/ai/ai_event.h
+++ b/ai/ai_event.h
@@ -13,7 +13,7 @@
* tell us ASAP! */
# define ai_event(player, event, ...) \
if ((player) < MAX_PLAYERS && _ai_player[(player)].module != NULL) \
- gpmi_event(_ai_player[(player)].module, (event), ##__VA_ARGS__)
+ gpmi_event(_ai_player[(player)].module, (event), _ai_current_uid, ##__VA_ARGS__)
#else /* GPMI */