forked from MagicBane/Server
Platform update
This commit is contained in:
@@ -106,6 +106,11 @@ public class Terrain {
|
|||||||
float interpolatedChildHeight = terrainZone.terrain.getInterpolatedTerrainHeight(terrainLoc);
|
float interpolatedChildHeight = terrainZone.terrain.getInterpolatedTerrainHeight(terrainLoc);
|
||||||
interpolatedChildHeight += terrainZone.worldAltitude;
|
interpolatedChildHeight += terrainZone.worldAltitude;
|
||||||
|
|
||||||
|
// Player cities have platform
|
||||||
|
|
||||||
|
if (terrainZone.guild_zone)
|
||||||
|
interpolatedChildHeight += 5;
|
||||||
|
|
||||||
// Interpolate height for this position in parent
|
// Interpolate height for this position in parent
|
||||||
|
|
||||||
float interpolatedParentTerrainHeight = parentZone.terrain.getInterpolatedTerrainHeight(parentLoc);
|
float interpolatedParentTerrainHeight = parentZone.terrain.getInterpolatedTerrainHeight(parentLoc);
|
||||||
|
|||||||
@@ -473,11 +473,6 @@ public enum ZoneManager {
|
|||||||
|
|
||||||
worldAlttitude += zone.yOffset;
|
worldAlttitude += zone.yOffset;
|
||||||
|
|
||||||
// Player cities have platform
|
|
||||||
|
|
||||||
if (zone.guild_zone)
|
|
||||||
worldAlttitude += 5;
|
|
||||||
|
|
||||||
return worldAlttitude;
|
return worldAlttitude;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user