Chunnel: Adjust arguments of IsTunnelInWay

This commit is contained in:
Jonathan G Rennison
2017-03-04 12:21:24 +00:00
parent 13a716980a
commit 21bbb42d7e
4 changed files with 6 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ static inline TunnelID GetTunnelIndex(TileIndex t)
}
TileIndex GetOtherTunnelEnd(TileIndex);
bool IsTunnelInWay(TileIndex, int z, bool not_allowed = true);
bool IsTunnelInWay(TileIndex, int z, bool chunnel_allowed = false);
/**
* Makes a road tunnel entrance