Platform update

This commit is contained in:
MagicBot committed 2023-10-10 07:59:42 -04:00
1 parent f73184ac1e
commit 0afc8a2dc5
2 files changed
+5 -5

No files matched your search

@@ -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);