(svn r3172) static, const

This commit is contained in:
tron
2005-11-13 13:43:55 +00:00
parent 59e885c2bf
commit ee15e3de13
31 changed files with 132 additions and 131 deletions

View File

@@ -1905,7 +1905,8 @@ static const byte _dir_table_1[] = {3, 9, 12, 6};
static const byte _dir_table_2[] = {12, 6, 3, 9};
static bool AiIsTileBanned(Player *p, TileIndex tile, byte val) {
static bool AiIsTileBanned(const Player* p, TileIndex tile, byte val)
{
int i;
for(i=0; i!=p->ai.banned_tile_count; i++)