diff options
author | rubidium <rubidium@openttd.org> | 2010-01-07 00:09:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-07 00:09:27 +0000 |
commit | 0e404038f27544fe7ebad2127b1651cd471732b6 (patch) | |
tree | 2ff838abb0b51b6374b89c68770e32acb03208cc /src/ai/ai_scanner.hpp | |
parent | 1967084bc3800615e6584d9d3115e0109a0e40da (diff) | |
download | openttd-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.hpp | 4 |
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. |