diff options
author | rubidium <rubidium@openttd.org> | 2011-02-07 09:51:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-07 09:51:16 +0000 |
commit | 79fd8a362bf2776256c4065414015c575b58fa3e (patch) | |
tree | 268802d0f468383f140aef73101578aa4a2aabf4 /src/ai/ai_core.cpp | |
parent | 64cba95fbedc66c1da8802380e9eb85d6ad6abe4 (diff) | |
download | openttd-79fd8a362bf2776256c4065414015c575b58fa3e.tar.xz |
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
Diffstat (limited to 'src/ai/ai_core.cpp')
-rw-r--r-- | src/ai/ai_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index f2bfc4292..1c7005b74 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -289,9 +289,9 @@ void CcAI(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2) return DAYS_IN_YEAR; } -/* static */ char *AI::GetConsoleList(char *p, const char *last) +/* static */ char *AI::GetConsoleList(char *p, const char *last, bool newest_only) { - return AI::ai_scanner->GetAIConsoleList(p, last); + return AI::ai_scanner->GetAIConsoleList(p, last, newest_only); } /* static */ char *AI::GetConsoleLibraryList(char *p, const char *last) |