pathfind.c
changeset 22 fe6f35cc987b
parent 0 29654efe3188
child 148 6a72b12f5588
--- a/pathfind.c	Wed Aug 11 21:48:27 2004 +0000
+++ b/pathfind.c	Wed Aug 11 22:07:08 2004 +0000
@@ -187,6 +187,9 @@
 
 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;