From a0c82d3f3f8fd8a2fba2660a9725cbd66cbce917 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 Oct 2023 09:32:20 -0400 Subject: [PATCH] Blend cleanup --- src/engine/InterestManagement/Terrain.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 5ba97c6b..c289ce8f 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -189,6 +189,9 @@ public class Terrain { float minp = this.zone.min_blend / this.zone.major_radius; float maxp = this.zone.max_blend / this.zone.major_radius; + float minpy = this.zone.min_blend / this.zone.minor_radius; + float maxpy = this.zone.max_blend / this.zone.minor_radius; + float xval; if (minp > 0.4f) @@ -196,9 +199,6 @@ public class Terrain { else xval = Math.min(maxp, 0.4f); - float maxpy = this.zone.max_blend / this.zone.major_radius; - float minpy = this.zone.min_blend / this.zone.minor_radius; - float yval; if (minpy > 0.4f)