Browse Source

Terrain size set by zone radius

combat-2
MagicBot 1 year ago
parent
commit
cd1de763e3
  1. 4
      src/engine/InterestManagement/Terrain.java

4
src/engine/InterestManagement/Terrain.java

@ -40,8 +40,8 @@ public class Terrain { @@ -40,8 +40,8 @@ public class Terrain {
if (this.zone.terrain_type.equals("PLANAR"))
this.heightmap = 1006300;
this.terrain_size.x = this.zone.major_radius;
this.terrain_size.y = this.zone.minor_radius;
this.terrain_size.x = this.zone.major_radius * 2;
this.terrain_size.y = this.zone.minor_radius * 2;
this.terrain_pixel_data = Terrain._heightmap_pixel_cache.get(heightmap);

Loading…
Cancel
Save