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
commitaac74778c5020c2f101d9012ab988418a870d7c0 (patch)
treecd4c186a9c07742ae1c885398e52e5cc5ad5bab3 /ai/trolly/trolly.h
parentaf556831a9d959a153af57b604c9ededb4ed2854 (diff)
downloadopenttd-aac74778c5020c2f101d9012ab988418a870d7c0.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);