We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9af7b3 commit 704567bCopy full SHA for 704567b
AI/Wrappers/LegacyCpp/IGlobalAI.h
@@ -98,7 +98,8 @@ class IGlobalAI
98
virtual void RecvChatMessage(const char* message, int player) { GotChatMsg(message, player); }
99
100
/// called when a Lua widget or unsynced gadget sends a message to this AI
101
- virtual void RecvLuaMessage(const char* inData, const char** outData) { *outData = inData; }
+ /// do not use outData, it is always NULL for interface-technical reasons
102
+ virtual void RecvLuaMessage(const char* inData, const char** outData) { /* *outData = inData; */ }
103
104
105
/// called when one of your units are damaged
0 commit comments