diff --git a/src/engine/db/handlers/dbZoneHandler.java b/src/engine/db/handlers/dbZoneHandler.java index 497c8917..136385f9 100644 --- a/src/engine/db/handlers/dbZoneHandler.java +++ b/src/engine/db/handlers/dbZoneHandler.java @@ -82,6 +82,20 @@ public class dbZoneHandler extends dbHandlerBase { // Add player city + ZoneTemplate zoneTemplate = new ZoneTemplate(); + + zoneTemplate.templateID = 0; + zoneTemplate.sea_level_type = "PARENT"; + zoneTemplate.sea_level = 0; + zoneTemplate.max_blend = 128; + zoneTemplate.min_blend = 128; + zoneTemplate.terrain_max_y = 5; + zoneTemplate.major_radius = (int) Enum.CityBoundsType.ZONE.halfExtents; + zoneTemplate.minor_radius = (int) Enum.CityBoundsType.ZONE.halfExtents; + zoneTemplate.terrain_type = "PLANAR"; + + ZoneManager._zone_templates.put(zoneTemplate.templateID, zoneTemplate); + } catch (SQLException e) { Logger.error(e); }