forked from MagicBane/Server
Cleanup in bounds configuration
This commit is contained in:
@@ -168,13 +168,6 @@ public class Zone extends AbstractGameObject {
|
||||
|
||||
this.bounds = Bounds.borrow();
|
||||
|
||||
// Player cities are assigned default value
|
||||
|
||||
if (this.loadNum == 0) {
|
||||
bounds.setBounds(new Vector2f(this.absX, this.absZ), new Vector2f(Enum.CityBoundsType.ZONE.halfExtents, Enum.CityBoundsType.ZONE.halfExtents), 0.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
Vector2f zoneSize = ZoneManager._zone_size_data.get(this.loadNum);
|
||||
|
||||
// Default to player zone size on error? Maybe log this
|
||||
|
||||
Reference in New Issue
Block a user