From ee15e3de13643b2d09abcc5424bf8e2d916cff75 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 13 Nov 2005 13:43:55 +0000 Subject: (svn r3172) static, const --- ai/default/default.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ai/default') 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++) -- cgit v1.2.3-70-g09d2