summaryrefslogtreecommitdiff
path: root/src/tunnel_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-08 19:44:41 +0000
committerrubidium <rubidium@openttd.org>2011-11-08 19:44:41 +0000
commit704dcc0a475e1361a913a43ae0b5d601dde807cc (patch)
tree4d06b95193a8fc73fb67a134a88c1be0380b5950 /src/tunnel_map.h
parentaca5f7ccf541664816067c96a61f95f623ed9475 (diff)
downloadopenttd-704dcc0a475e1361a913a43ae0b5d601dde807cc.tar.xz
(svn r23167) -Codechange [FS#4818]: make IsTunnelInWay z parameters signed as well (hackalittlebit)
Diffstat (limited to 'src/tunnel_map.h')
-rw-r--r--src/tunnel_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnel_map.h b/src/tunnel_map.h
index 2a167055a..c4f68f729 100644
--- a/src/tunnel_map.h
+++ b/src/tunnel_map.h
@@ -38,8 +38,8 @@ static inline bool IsTunnelTile(TileIndex t)
}
TileIndex GetOtherTunnelEnd(TileIndex);
-bool IsTunnelInWay(TileIndex, uint z);
-bool IsTunnelInWayDir(TileIndex tile, uint z, DiagDirection dir);
+bool IsTunnelInWay(TileIndex, int z);
+bool IsTunnelInWayDir(TileIndex tile, int z, DiagDirection dir);
/**
* Makes a road tunnel entrance