diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 10:48:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 10:48:15 +0000 |
commit | 966e2738b9c97bb44276ec90ebfa4a202d67d715 (patch) | |
tree | e8ff8f3847b0d29507eeef3450ff752e9b318604 /src/ai/ai.h | |
parent | f6be61bb3481419a388d9dcdede16c2b5f77c4a2 (diff) | |
download | openttd-966e2738b9c97bb44276ec90ebfa4a202d67d715.tar.xz |
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Diffstat (limited to 'src/ai/ai.h')
-rw-r--r-- | src/ai/ai.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. |