From f8caaf0e9961c2d27dbd0be7fd82b4c5a14d1b27 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 17 Sep 2023 12:07:43 -0400 Subject: [PATCH] Correction to blend configuration. --- 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 e92b3feb..bc340e5f 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -192,8 +192,8 @@ public class Zone extends AbstractGameObject { if (heightMap != null) { this.minBlend = Bounds.borrow(); + this.minBlend.setBounds(new Vector2f(this.absX, this.absZ), new Vector2f(Enum.CityBoundsType.ZONE.extents, Enum.CityBoundsType.ZONE.extents).subtract(heightMap.zone_minBlend, heightMap.zone_minBlend), 0.0f); this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), new Vector2f(Enum.CityBoundsType.ZONE.extents, Enum.CityBoundsType.ZONE.extents).subtract(heightMap.zone_maxBlend, heightMap.zone_maxBlend), 0.0f); - this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), new Vector2f(Enum.CityBoundsType.ZONE.extents, Enum.CityBoundsType.ZONE.extents).subtract(heightMap.zone_minBlend, heightMap.zone_minBlend), 0.0f); } }