File diff r18263:aa73b8f4886f → r18264:ebfd7683aeb7
src/elrail.cpp
Show inline comments
 
@@ -315,7 +315,7 @@ static void DrawCatenaryRailway(const Ti
 
		};
 
		SpriteID pylon_base = (halftile_corner != CORNER_INVALID && HasBit(edge_corners[i], halftile_corner)) ? pylon_halftile : pylon_normal;
 
		TileIndex neighbour = ti->tile + TileOffsByDiagDir(i);
 
		byte elevation = GetPCPElevation(ti->tile, i);
 
		int elevation = GetPCPElevation(ti->tile, i);
 

	
 
		/* Here's one of the main headaches. GetTileSlope does not correct for possibly
 
		 * existing foundataions, so we do have to do that manually later on.*/