summaryrefslogtreecommitdiff
path: root/src/ai/ai_scanner.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-07 00:09:27 +0000
committerrubidium <rubidium@openttd.org>2010-01-07 00:09:27 +0000
commit0e404038f27544fe7ebad2127b1651cd471732b6 (patch)
tree2ff838abb0b51b6374b89c68770e32acb03208cc /src/ai/ai_scanner.hpp
parent1967084bc3800615e6584d9d3115e0109a0e40da (diff)
downloadopenttd-0e404038f27544fe7ebad2127b1651cd471732b6.tar.xz
(svn r18747) -Codechange: add some constness to the AI code
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.