Chunnel patch 28396: Codechange: Chunnel portal must have minimal length of 4 tiles.

https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
This commit is contained in:
HackaLittleBit
2017-03-04 11:47:20 +00:00
committed by Jonathan G Rennison
parent dee526c6d6
commit dfce9cc4c0
6 changed files with 24 additions and 5 deletions

View File

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