Changeset - r15473:e643af3566d8
[Not reviewed]
master
0 1 0
frosch - 14 years ago 2010-07-12 18:15:37
frosch@openttd.org
(svn r20132) -Fix [FS#3944](r20126): There can also be halftile foundations on slopes with opposite corners raised.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/elrail.cpp
Show inline comments
 
@@ -276,7 +276,7 @@ static void DrawCatenaryRailway(const 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;
 
	}
 

	
0 comments (0 inline, 0 general)