# HG changeset patch # User yexo # Date 2011-03-07 18:44:36 # Node ID 5933f3859ebb94d6987fc00f28a94032ac22b456 # Parent 4e4b77602b7ef39661ddeacdd038083340960beb (svn r22222) -Fix: compilation when compiling with --disable-ai diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp --- 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() { } };