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.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp
index e65a7f354..ff3ce7790 100644
--- a/src/ai/ai_scanner.hpp
+++ b/src/ai/ai_scanner.hpp
@@ -41,7 +41,7 @@ public:
/**
* Select a Random AI.
*/
- class AIInfo *SelectRandomAI();
+ class AIInfo *SelectRandomAI() const;
/**
* Find an AI by name.
@@ -51,7 +51,7 @@ public:
/**
* Get the list of available AIs for the console.
*/
- char *GetAIConsoleList(char *p, const char *last);
+ char *GetAIConsoleList(char *p, const char *last) const;
/**
* Get the list of all registered AIs.