summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r--src/ai/ai_info.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp
index ace456a79..936237418 100644
--- 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();