summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-03-07 18:44:36 +0000
committeryexo <yexo@openttd.org>2011-03-07 18:44:36 +0000
commitcde5b7dffc95899e03ab4250fbfc0149b2d7755e (patch)
treef5df40f32e2d8331f734c3d5262f096e7622962f /src/ai
parent11755768d2a7a190c17178d0c1cbde145e63e576 (diff)
downloadopenttd-cde5b7dffc95899e03ab4250fbfc0149b2d7755e.tar.xz
(svn r22222) -Fix: compilation when compiling with --disable-ai
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp
index 1c61d917f..73e95efee 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() { }
};