diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -63,6 +63,10 @@ protected: /** All static information from an AI like name, version, etc. */ class AIInfo : public AIFileInfo { public: + /** + * Get the class name, so the script code can create the right code. + * @return The class name. + */ static const char *GetClassName() { return "AIInfo"; } AIInfo();