From 79fd8a362bf2776256c4065414015c575b58fa3e Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Feb 2011 09:51:16 +0000 Subject: (svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h" --- src/ai/ai_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ai/ai_core.cpp') 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) -- cgit v1.2.3-54-g00ecf