(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
This commit is contained in:
@@ -159,7 +159,7 @@ static inline Corner GetHalftileSlopeCorner(Slope s)
|
||||
* @param s The #Slope.
|
||||
* @return Relative height of highest corner.
|
||||
*/
|
||||
static inline uint GetSlopeMaxZ(Slope s)
|
||||
static inline uint GetSlopeMaxPixelZ(Slope s)
|
||||
{
|
||||
if (s == SLOPE_FLAT) return 0;
|
||||
if (IsSteepSlope(s)) return 2 * TILE_HEIGHT;
|
||||
|
||||
Reference in New Issue
Block a user