forked from mirror/OpenTTD
(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:
@@ -488,7 +488,7 @@ uint32 IndustryLocationGetVariable(const ResolverObject *object, byte variable,
|
||||
case 0x89: return min(DistanceManhattan(industry->town->xy, tile), 255);
|
||||
|
||||
/* Lowest height of the tile */
|
||||
case 0x8A: return GetTileZ(tile);
|
||||
case 0x8A: return GetTilePixelZ(tile);
|
||||
|
||||
/* Distance to the nearest water/land tile */
|
||||
case 0x8B: return GetClosestWaterDistance(tile, (GetIndustrySpec(industry->type)->behaviour & INDUSTRYBEH_BUILT_ONWATER) == 0);
|
||||
|
Reference in New Issue
Block a user