Browse Source

Correction to blend configuration.

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
f8caaf0e99
  1. 2
      src/engine/objects/Zone.java

2
src/engine/objects/Zone.java

@ -192,8 +192,8 @@ public class Zone extends AbstractGameObject { @@ -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);
}
}

Loading…
Cancel
Save