summaryrefslogtreecommitdiff
path: root/ai.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-05 19:12:47 +0000
committertron <tron@openttd.org>2005-01-05 19:12:47 +0000
commitcc465f0f35eac488eeae6508c38c3f524edf29ed (patch)
treea452fb414e4cd2deaebd576320e95e90c188f7e8 /ai.h
parent5583fd89b3a591998e3b80e1d453f390e0c9b05a (diff)
downloadopenttd-cc465f0f35eac488eeae6508c38c3f524edf29ed.tar.xz
(svn r1392) Use TileOffsByDir() instead of home brewed table
Diffstat (limited to 'ai.h')
-rw-r--r--ai.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ai.h b/ai.h
index 2554c1cfc..7d97db899 100644
--- a/ai.h
+++ b/ai.h
@@ -168,13 +168,6 @@ static const byte _illegal_curves[6] = {
3, // upright and downright are not valid
};
-static const TileIndexDiff _tiles_around[4] = {
- TILE_XY(-1,0),
- TILE_XY(0,1),
- TILE_XY(1,0),
- TILE_XY(0,-1),
-};
-
enum {
AI_STATE_STARTUP = 0,
AI_STATE_FIRST_TIME,