summaryrefslogtreecommitdiff
path: root/src/ai/default
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/default')
-rw-r--r--src/ai/default/default.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp
index b9d0f2f92..5a49673ac 100644
--- a/src/ai/default/default.cpp
+++ b/src/ai/default/default.cpp
@@ -31,6 +31,8 @@
#include "../../player_base.h"
#include "default.h"
+#include "../../table/ai_rail.h"
+
// remove some day perhaps?
static uint _ai_service_interval;
PlayerAI _players_ai[MAX_PLAYERS];
@@ -65,8 +67,6 @@ enum {
};
-#include "../../table/ai_rail.h"
-
static TrackBits GetRailTrackStatus(TileIndex tile)
{
uint32 r = GetTileTrackStatus(tile, TRANSPORT_RAIL, 0);