|
|
|
@ -106,6 +106,11 @@ public class Terrain {
@@ -106,6 +106,11 @@ public class Terrain {
|
|
|
|
|
float interpolatedChildHeight = terrainZone.terrain.getInterpolatedTerrainHeight(terrainLoc); |
|
|
|
|
interpolatedChildHeight += terrainZone.worldAltitude; |
|
|
|
|
|
|
|
|
|
// Player cities have platform
|
|
|
|
|
|
|
|
|
|
if (terrainZone.guild_zone) |
|
|
|
|
interpolatedChildHeight += 5; |
|
|
|
|
|
|
|
|
|
// Interpolate height for this position in parent
|
|
|
|
|
|
|
|
|
|
float interpolatedParentTerrainHeight = parentZone.terrain.getInterpolatedTerrainHeight(parentLoc); |
|
|
|
|