summaryrefslogtreecommitdiff
path: root/src/ai/ai_scanner.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_scanner.hpp')
-rw-r--r--src/ai/ai_scanner.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp
index e79d8ec1d..3bfa27bfc 100644
--- a/src/ai/ai_scanner.hpp
+++ b/src/ai/ai_scanner.hpp
@@ -50,6 +50,11 @@ public:
const AIInfoList *GetAIInfoList() { return &this->info_list; }
/**
+ * Get the list of the newest version of all registered AIs.
+ */
+ const AIInfoList *GetUniqueAIInfoList() { return &this->info_single_list; }
+
+ /**
* Get the engine of the main squirrel handler (it indexes all avialable squirrels).
*/
class Squirrel *GetEngine() { return this->engine; }