summaryrefslogtreecommitdiff
path: root/src/ai/default/default.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
commit90acd52f22116bed4b126df0218975d2b54aa6aa (patch)
treefc3e123d733a91dd61b578c69516fae69754c97f /src/ai/default/default.cpp
parent72c9b35b119884a393f30d8009a53db87b121c78 (diff)
downloadopenttd-90acd52f22116bed4b126df0218975d2b54aa6aa.tar.xz
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Diffstat (limited to 'src/ai/default/default.cpp')
-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);