summaryrefslogtreecommitdiff
path: root/pathfind.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-03-24 16:03:09 +0000
committerbelugas <belugas@openttd.org>2006-03-24 16:03:09 +0000
commit24cc5e41df76f96ca94d1a054c4906216bc7fa3a (patch)
treeceb1a8409bb51a677c150980defc1c7bf039579d /pathfind.h
parentdb9706cb800b0cfa20d36551c796f81619707173 (diff)
downloadopenttd-24cc5e41df76f96ca94d1a054c4906216bc7fa3a.tar.xz
(svn r4089) CodeChange : Create Map Accessors Group in MS WorkSpace, arrange VCProject. Remove warning on FindLengthOfTunnel, uint is not DiagDirection
Diffstat (limited to 'pathfind.h')
-rw-r--r--pathfind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfind.h b/pathfind.h
index ec358b5db..748ec5ab9 100644
--- a/pathfind.h
+++ b/pathfind.h
@@ -66,7 +66,7 @@ typedef struct {
TileIndex tile;
int length;
} FindLengthOfTunnelResult;
-FindLengthOfTunnelResult FindLengthOfTunnel(TileIndex tile, uint direction);
+FindLengthOfTunnelResult FindLengthOfTunnel(TileIndex tile, DiagDirection direction);
void NewTrainPathfind(TileIndex tile, TileIndex dest, DiagDirection direction, NTPEnumProc* enum_proc, void* data);