From 65eebcbb5d0116cf888f9f8dbc92d085d737bfb7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 15 Oct 2023 14:07:54 -0400 Subject: [PATCH] Blend updated --- src/engine/InterestManagement/Terrain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 6a26faba..b484134a 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -120,7 +120,7 @@ public class Terrain { // Blend between terrains - return interpolatedChildHeight + parentZone.global_height * (1 - terrainZone.terrain.terrainBlend(terrainOffset)); + return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainOffset)); }