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

@@ -24,6 +24,7 @@ struct Tunnel : TunnelPool::PoolItem<&_tunnel_pool> {
TileIndex tile_n; // North tile of tunnel.
TileIndex tile_s; // South tile of tunnel.
bool is_chunnel;
Tunnel(TileIndex tile_n = INVALID_TILE) : tile_n(tile_n) {}
~Tunnel();