summaryrefslogtreecommitdiff
path: root/src/ai/ai_core.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-07 09:51:16 +0000
committerrubidium <rubidium@openttd.org>2011-02-07 09:51:16 +0000
commit79fd8a362bf2776256c4065414015c575b58fa3e (patch)
tree268802d0f468383f140aef73101578aa4a2aabf4 /src/ai/ai_core.cpp
parent64cba95fbedc66c1da8802380e9eb85d6ad6abe4 (diff)
downloadopenttd-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.cpp4
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)