(svn r3304) -Add: allow AI-events to see the UID of the command
-Fix: improved the logic of the UID code for AIs
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user