From d15b8a5246fd0ae1f743f122c7b5b23025644826 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 12 Oct 2023 06:01:55 -0400 Subject: [PATCH] Opposite of 1006300 created as 1006301. --- src/engine/InterestManagement/Terrain.java | 5 ++++- src/engine/objects/Zone.java | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 05550c87..a39c325a 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -43,7 +43,10 @@ public class Terrain { // terrains share. if (this.zone.terrain_type.equals("PLANAR")) - this.heightmap = 1006300; + if (this.zone.guild_zone) + this.heightmap = 1006301; + else + this.heightmap = 1006300; // Load pixel data for this terrain from cache diff --git a/src/engine/objects/Zone.java b/src/engine/objects/Zone.java index 637893cd..1878e903 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -110,8 +110,7 @@ public class Zone extends AbstractGameObject { this.terrain_max_y = 5; this.major_radius = (int) Enum.CityBoundsType.ZONE.halfExtents; this.minor_radius = (int) Enum.CityBoundsType.ZONE.halfExtents; - this.terrain_type = "TARGA"; - this.terrain_image = 1006301; + this.terrain_type = "PLANAR"; } if (this.terrain_type.equals("NONE"))