summaryrefslogtreecommitdiff
path: root/ai/trolly/trolly.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-23 19:08:33 +0000
committertron <tron@openttd.org>2006-04-23 19:08:33 +0000
commit8ef2c13c65498dfc39cb80bd1c07589b747fe1e6 (patch)
treecd4c186a9c07742ae1c885398e52e5cc5ad5bab3 /ai/trolly/trolly.h
parent72d3fabb58a98921b963cfc7b788e498275724cc (diff)
downloadopenttd-8ef2c13c65498dfc39cb80bd1c07589b747fe1e6.tar.xz
(svn r4553) int and magic numbers -> Slope and DiagDirection
Diffstat (limited to 'ai/trolly/trolly.h')
-rw-r--r--ai/trolly/trolly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/trolly/trolly.h b/ai/trolly/trolly.h
index acf371896..8100aacff 100644
--- a/ai/trolly/trolly.h
+++ b/ai/trolly/trolly.h
@@ -245,7 +245,7 @@ void clean_AyStar_AiPathFinder(AyStar *aystar, Ai_PathFinderInfo *PathFinderInfo
// ai_shared.c
int AiNew_GetRailDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c);
int AiNew_GetRoadDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c);
-int AiNew_GetDirection(TileIndex tile_a, TileIndex tile_b);
+DiagDirection AiNew_GetDirection(TileIndex tile_a, TileIndex tile_b);
bool AiNew_SetSpecialVehicleFlag(Player *p, Vehicle *v, uint flag);
uint AiNew_GetSpecialVehicleFlag(Player *p, Vehicle *v);