summaryrefslogtreecommitdiff
path: root/src/tunnel_map.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-21 17:25:17 +0000
committerrubidium <rubidium@openttd.org>2007-06-21 17:25:17 +0000
commitd0fa4eb9de1a3ee1ebaff4d71890a2fee5e4e32d (patch)
tree9b6fd14e50d7ab0c8fb901cfad2e00092a6b0470 /src/tunnel_map.cpp
parenta482793a32692197572e09b07df35a2b28cd6b9b (diff)
downloadopenttd-d0fa4eb9de1a3ee1ebaff4d71890a2fee5e4e32d.tar.xz
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
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;