(svn r1392) Use TileOffsByDir() instead of home brewed table

This commit is contained in:
tron
2005-01-05 19:12:47 +00:00
parent fa1564a1a4
commit c11ce2ec6a
2 changed files with 16 additions and 23 deletions

7
ai.h
View File

@@ -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,