Browse Source

Blend updated

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

2
src/engine/InterestManagement/Terrain.java

@ -120,7 +120,7 @@ public class Terrain { @@ -120,7 +120,7 @@ public class Terrain {
// Blend between terrains
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainOffset));
return interpolatedChildHeight + parentZone.global_height * (1 - terrainZone.terrain.terrainBlend(terrainOffset));
}

Loading…
Cancel
Save