(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"

This commit is contained in:
rubidium
2011-02-07 09:51:16 +00:00
parent b5f0c341eb
commit c163f3c0f7
5 changed files with 9 additions and 8 deletions

View File

@@ -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)