From 3ccc83e64062b95f8ae1d6a7c7afde3224b03b63 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Jun 2007 10:48:15 +0000 Subject: (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. --- src/ai/ai.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ai/ai.h') diff --git a/src/ai/ai.h b/src/ai/ai.h index 4e7c999a5..a0a4c5793 100644 --- a/src/ai/ai.h +++ b/src/ai/ai.h @@ -43,8 +43,8 @@ void AI_PlayerDied(PlayerID player); void AI_RunGameLoop(); void AI_Initialize(); void AI_Uninitialize(); -int32 AI_DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc); -int32 AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback); +CommandCost AI_DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc); +CommandCost AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback); /** Is it allowed to start a new AI. * This function checks some boundries to see if we should launch a new AI. -- cgit v1.2.3-70-g09d2