summaryrefslogtreecommitdiff
path: root/ai/ai.c
diff options
context:
space:
mode:
Diffstat (limited to 'ai/ai.c')
-rw-r--r--ai/ai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ai/ai.c b/ai/ai.c
index ac8c067a1..6754dc82e 100644
--- a/ai/ai.c
+++ b/ai/ai.c
@@ -45,7 +45,7 @@ static void AI_DequeueCommands(PlayerID player)
* Needed for SP; we need to delay DoCommand with 1 tick, because else events
* will make infinite loops (AIScript).
*/
-static void AI_PutCommandInQueue(byte player, uint tile, uint32 p1, uint32 p2, uint procc)
+static void AI_PutCommandInQueue(PlayerID player, TileIndex tile, uint32 p1, uint32 p2, uint procc)
{
AICommand *com;
@@ -80,7 +80,7 @@ static void AI_PutCommandInQueue(byte player, uint tile, uint32 p1, uint32 p2, u
/**
* Executes a raw DoCommand for the AI.
*/
-int32 AI_DoCommand(uint tile, uint32 p1, uint32 p2, uint32 flags, uint procc)
+int32 AI_DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc)
{
PlayerID old_lp;
int32 res = 0;