diff options
author | darkvater <darkvater@openttd.org> | 2004-08-11 22:07:08 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-11 22:07:08 +0000 |
commit | f42201496093f04220e58b1c4cd4d69531839de4 (patch) | |
tree | bbd3f2f0084e8bba00dd232cb07236b5bebd9d6a /pathfind.c | |
parent | 6679afc48a1bec985b6687dee105730b89682224 (diff) | |
download | openttd-f42201496093f04220e58b1c4cd4d69531839de4.tar.xz |
(svn r23) -Some omments on the code (blathijs)
Diffstat (limited to 'pathfind.c')
-rw-r--r-- | pathfind.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pathfind.c b/pathfind.c index 02c2b1de7..718268a5d 100644 --- a/pathfind.c +++ b/pathfind.c @@ -187,6 +187,9 @@ continue_here:; static const int8 _get_tunlen_inc[5] = { -16, 0, 16, 0, -16 }; +/* Returns the end tile and the length of a tunnel. The length does not + * include the starting tile (entry), it does include the end tile (exit). + */ FindLengthOfTunnelResult FindLengthOfTunnel(uint tile, int direction, byte type) { FindLengthOfTunnelResult flotr; |