From 52b66be43b4ea7a66c057bdb956a62af9586c2e7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 Oct 2023 10:47:48 -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 9721afac..4872e3fe 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 + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainLoc)); + return interpolatedChildHeight + parentZone.worldAltitude * (1 - terrainZone.terrain.terrainBlend(terrainLoc)); }