From 8c6eb4887602c3f1861bbd00ae99543ec65f21b9 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 17 Sep 2023 13:25:15 -0400 Subject: [PATCH] max based on min blend --- src/engine/objects/Zone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Zone.java b/src/engine/objects/Zone.java index 2b644f48..d414037e 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -198,7 +198,7 @@ public class Zone extends AbstractGameObject { this.maxBlend = Bounds.borrow(); this.minBlend.setBounds(new Vector2f(this.absX, this.absZ), this.getBounds().getHalfExtents().subtract(heightMap.zone_minBlend, heightMap.zone_minBlend), 0.0f); - this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), this.getBounds().getHalfExtents().subtract(heightMap.zone_maxBlend, heightMap.zone_maxBlend), 0.0f); + this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), this.minBlend.getHalfExtents().subtract(heightMap.zone_maxBlend, heightMap.zone_maxBlend), 0.0f); } }