mirror of https://github.com/OpenTTD/OpenTTD
(svn r4398) -Fix: Quick and Dirty solution for FS#116. Just for the nightlies
parent
b76a4cdfa6
commit
a588d816ff
|
@ -1123,6 +1123,7 @@ static uint GetSlopeZ_TunnelBridge(const TileInfo* ti)
|
||||||
uint f = _bridge_foundations[GetBridgeAxis(tile)][tileh];
|
uint f = _bridge_foundations[GetBridgeAxis(tile)][tileh];
|
||||||
|
|
||||||
if (f != 0) {
|
if (f != 0) {
|
||||||
|
if (f == 1) return z;
|
||||||
if (f < 15) return z + 8;
|
if (f < 15) return z + 8;
|
||||||
tileh = _inclined_tileh[f - 15];
|
tileh = _inclined_tileh[f - 15];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue