summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-07 00:57:19 +0000
committerrubidium <rubidium@openttd.org>2008-01-07 00:57:19 +0000
commit444e77d8bcb6738f14ce37e2afafd96d5ce43f1f (patch)
tree3567936f8a68355c82a35bbc85088b7110d0c507 /src/ai
parent779ce7fda94b8a26a4d6111731b52a52cac11c72 (diff)
downloadopenttd-444e77d8bcb6738f14ce37e2afafd96d5ce43f1f.tar.xz
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai.h1
-rw-r--r--src/ai/trolly/pathfinder.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai.h b/src/ai/ai.h
index 2fdb3c986..96e25ef54 100644
--- a/src/ai/ai.h
+++ b/src/ai/ai.h
@@ -7,6 +7,7 @@
#include "../player.h"
#include "../command_type.h"
#include "../core/random_func.hpp"
+#include "../settings_type.h"
/* How DoCommands look like for an AI */
struct AICommand {
diff --git a/src/ai/trolly/pathfinder.cpp b/src/ai/trolly/pathfinder.cpp
index a3bc55c8f..c670c0eae 100644
--- a/src/ai/trolly/pathfinder.cpp
+++ b/src/ai/trolly/pathfinder.cpp
@@ -11,6 +11,7 @@
#include "../../bridge.h"
#include "../../tunnelbridge_map.h"
#include "../ai.h"
+#include "../../variables.h"
#define TEST_STATION_NO_DIR 0xFF