mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20132) -Fix [FS#3944](r20126): There can also be halftile foundations on slopes with opposite corners raised.
This commit is contained in:
parent
6e7a8dfd86
commit
0a026ff41f
|
@ -276,7 +276,7 @@ static void DrawCatenaryRailway(const TileInfo *ti)
|
|||
* Faking a flat slope results in the correct sprites on positions. */
|
||||
Corner halftile_corner = CORNER_INVALID;
|
||||
if (IsHalftileSlope(tileh[TS_HOME])) {
|
||||
halftile_corner = GetHighestSlopeCorner(tileh[TS_HOME]);
|
||||
halftile_corner = GetHalftileSlopeCorner(tileh[TS_HOME]);
|
||||
tileh[TS_HOME] = SLOPE_FLAT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue