forked from MagicBane/Server
Terrain size set by zone radius
This commit is contained in:
@@ -40,8 +40,8 @@ public class Terrain {
|
|||||||
if (this.zone.terrain_type.equals("PLANAR"))
|
if (this.zone.terrain_type.equals("PLANAR"))
|
||||||
this.heightmap = 1006300;
|
this.heightmap = 1006300;
|
||||||
|
|
||||||
this.terrain_size.x = this.zone.major_radius;
|
this.terrain_size.x = this.zone.major_radius * 2;
|
||||||
this.terrain_size.y = this.zone.minor_radius;
|
this.terrain_size.y = this.zone.minor_radius * 2;
|
||||||
|
|
||||||
this.terrain_pixel_data = Terrain._heightmap_pixel_cache.get(heightmap);
|
this.terrain_pixel_data = Terrain._heightmap_pixel_cache.get(heightmap);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user