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 | 3ccc83e64062b95f8ae1d6a7c7afde3224b03b63 (patch) | |
tree | e8ff8f3847b0d29507eeef3450ff752e9b318604 /src/ai/trolly/pathfinder.cpp | |
parent | fd2cee18642307140aeb64822cc63287b8efff8f (diff) | |
download | openttd-3ccc83e64062b95f8ae1d6a7c7afde3224b03b63.tar.xz |
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Diffstat (limited to 'src/ai/trolly/pathfinder.cpp')
-rw-r--r-- | src/ai/trolly/pathfinder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/trolly/pathfinder.cpp b/src/ai/trolly/pathfinder.cpp index d117f48dd..4fca513df 100644 --- a/src/ai/trolly/pathfinder.cpp +++ b/src/ai/trolly/pathfinder.cpp @@ -23,7 +23,7 @@ static bool TestCanBuildStationHere(TileIndex tile, byte dir) Player *p = GetPlayer(_current_player); if (dir == TEST_STATION_NO_DIR) { - int32 ret; + CommandCost ret; // TODO: currently we only allow spots that can be access from al 4 directions... // should be fixed!!! for (dir = 0; dir < 4; dir++) { @@ -214,7 +214,7 @@ static void AyStar_AiPathFinder_FoundEndNode(AyStar *aystar, OpenListNode *curre // What tiles are around us. static void AyStar_AiPathFinder_GetNeighbours(AyStar *aystar, OpenListNode *current) { - int ret; + CommandCost ret; int dir; Ai_PathFinderInfo *PathFinderInfo = (Ai_PathFinderInfo*)aystar->user_target; |