From cde5b7dffc95899e03ab4250fbfc0149b2d7755e Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 7 Mar 2011 18:44:36 +0000 Subject: [PATCH] (svn r22222) -Fix: compilation when compiling with --disable-ai --- src/ai/ai.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp index 1c61d917fa..73e95efee7 100644 --- a/src/ai/ai.hpp +++ b/src/ai/ai.hpp @@ -168,7 +168,7 @@ public: 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() { } };