changeset 17468:17388c2a6b33 draft

(svn r22222) -Fix: compilation when compiling with --disable-ai
author yexo <yexo@openttd.org>
date Mon, 07 Mar 2011 18:44:36 +0000
parents b607e87cf6c0
children 4e26ee5c80a8
files src/ai/ai.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ai/ai.hpp
+++ b/src/ai/ai.hpp
@@ -168,7 +168,7 @@
 	static void GameLoop() {}
 	static bool HasAI(const struct ContentInfo *ci, bool md5sum) { return false; }
 	static void Rescan() {}
-	static char *GetConsoleList(char *p, const char *last) { return p; }
+	static char *GetConsoleList(char *p, const char *last, bool newest_only = false) { return p; }
 	static void nop() { }
 };