From f73184ac1ef72ef7132a15df4810440434ec5d93 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 Oct 2023 10:56:39 -0400 Subject: [PATCH] Blend cleanup --- 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 4872e3fe..9721afac 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -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)); }