From 704dcc0a475e1361a913a43ae0b5d601dde807cc Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 8 Nov 2011 19:44:41 +0000 Subject: (svn r23167) -Codechange [FS#4818]: make IsTunnelInWay z parameters signed as well (hackalittlebit) --- src/tunnel_map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tunnel_map.h') 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 -- cgit v1.2.3-54-g00ecf