diff options
Diffstat (limited to 'ai')
-rw-r--r-- | ai/default/default.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ai/default/default.c b/ai/default/default.c index 3c8264604..7f0ae2aa8 100644 --- a/ai/default/default.c +++ b/ai/default/default.c @@ -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++) |