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)