summaryrefslogtreecommitdiff
path: root/ai/trolly
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-29 19:03:47 +0000
committercelestar <celestar@openttd.org>2006-03-29 19:03:47 +0000
commit8310a463513375d2a31eab0795d923a0eed1c2b1 (patch)
tree74b019f138a33153c6734b2e24a8c900a03c1609 /ai/trolly
parentcb76f96aad98e39e55454a142b598d3d29a48de1 (diff)
downloadopenttd-8310a463513375d2a31eab0795d923a0eed1c2b1.tar.xz
(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
Diffstat (limited to 'ai/trolly')
-rw-r--r--ai/trolly/build.c1
-rw-r--r--ai/trolly/pathfinder.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ai/trolly/build.c b/ai/trolly/build.c
index 2d0b25ec5..550f17ceb 100644
--- a/ai/trolly/build.c
+++ b/ai/trolly/build.c
@@ -12,6 +12,7 @@
#include "../../engine.h"
#include "../../station.h"
#include "../../variables.h"
+#include "../../bridge.h"
#include "../ai.h"
// Build HQ
diff --git a/ai/trolly/pathfinder.c b/ai/trolly/pathfinder.c
index 25b3683ad..3fc6cb170 100644
--- a/ai/trolly/pathfinder.c
+++ b/ai/trolly/pathfinder.c
@@ -11,7 +11,7 @@
#include "trolly.h"
#include "../../depot.h"
#include "../../tunnel_map.h"
-#include "../../variables.h"
+#include "../../bridge.h"
#include "../ai.h"
#define TEST_STATION_NO_DIR 0xFF