Browse Source

Blend cleanup

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
f73184ac1e
  1. 2
      src/engine/InterestManagement/Terrain.java

2
src/engine/InterestManagement/Terrain.java

@ -113,7 +113,7 @@ public class Terrain { @@ -113,7 +113,7 @@ public class Terrain {
// Blend between heights
return interpolatedChildHeight + parentZone.worldAltitude * (1 - terrainZone.terrain.terrainBlend(terrainLoc));
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainLoc));
}

Loading…
Cancel
Save