File diff r27055:8db4d6833ae7 → r27056:ac04ccbeb86c
src/road_cmd.cpp
Show inline comments
 
@@ -1883,13 +1883,13 @@ void UpdateNearestTownForRoadTiles(bool 
 
			}
 
			SetTownIndex(t, tid);
 
		}
 
	}
 
}
 

	
 
static int GetSlopePixelZ_Road(TileIndex tile, uint x, uint y)
 
static int GetSlopePixelZ_Road(TileIndex tile, uint x, uint y, bool ground_vehicle)
 
{
 

	
 
	if (IsNormalRoad(tile)) {
 
		int z;
 
		Slope tileh = GetTilePixelSlope(tile, &z);
 
		if (tileh == SLOPE_FLAT) return z;