mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 15:09:10 +00:00
(svn r5499) Fix a case of an uninitialised variable in r5368 which caused some graphical glitches at foundations (wrong foundation borders, flickering)
This problem only exists in the backport
This commit is contained in:
@@ -193,6 +193,7 @@ static Slope GetFoundationSlope(TileIndex tile, uint* z)
|
||||
|
||||
FindLandscapeHeightByTile(&ti, tile);
|
||||
tileh = ti.tileh;
|
||||
*z = ti.z;
|
||||
slope = _tile_type_procs[GetTileType(tile)]->get_slope_tileh_proc(&ti);
|
||||
|
||||
// Flatter slope -> higher base height
|
||||
|
Reference in New Issue
Block a user