Cleanup in bounds configuration

This commit is contained in:
2023-09-17 23:56:45 -04:00
parent 897ddfe77a
commit da238b9986
-7
View File
@@ -168,13 +168,6 @@ public class Zone extends AbstractGameObject {
this.bounds = Bounds.borrow(); 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); Vector2f zoneSize = ZoneManager._zone_size_data.get(this.loadNum);
// Default to player zone size on error? Maybe log this // Default to player zone size on error? Maybe log this