(svn r23110) -Codechange: let the flying altitude return ints are well
This commit is contained in:
@@ -315,7 +315,7 @@ static void DrawCatenaryRailway(const TileInfo *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.*/
|
||||
|
Reference in New Issue
Block a user