diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 8bba456a..f8aa914b 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -123,7 +123,12 @@ public class Terrain { // Blend between terrains - return interpolatedChildHeight * (1 - terrainZone.terrain.terrainBlend(terrainOffset)); + float blendFactor = terrainZone.terrain.terrainBlend(terrainOffset); + + float terrainHeight = interpolatedChildHeight * blendFactor; + terrainHeight += interpolatedParentTerrainHeight * (1 - blendFactor); + + return terrainHeight; }