summaryrefslogtreecommitdiff
path: root/src/tunnel_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tunnel_map.cpp')
-rw-r--r--src/tunnel_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnel_map.cpp b/src/tunnel_map.cpp
index d0788b951..8d75735b6 100644
--- a/src/tunnel_map.cpp
+++ b/src/tunnel_map.cpp
@@ -39,7 +39,7 @@ TileIndex GetOtherTunnelEnd(TileIndex tile)
* @param dir the direction to start searching to.
* @return true if and only if there is a tunnel.
*/
-static bool IsTunnelInWayDir(TileIndex tile, uint z, DiagDirection dir)
+bool IsTunnelInWayDir(TileIndex tile, uint z, DiagDirection dir)
{
TileIndexDiff delta = TileOffsByDiagDir(dir);
uint height;