Browse Source

terraform size correction

lakebane-new
FatBoy-DOTC 7 months ago
parent
commit
aebe2698c3
  1. 6
      src/engine/Enum.java
  2. 4
      src/engine/objects/Zone.java

6
src/engine/Enum.java

@ -2308,9 +2308,9 @@ public class Enum { @@ -2308,9 +2308,9 @@ public class Enum {
public enum CityBoundsType {
GRID(640),
ZONE(875),
PLACEMENT(876);
GRID(416),
ZONE(672),
PLACEMENT(673);
public final float extents;

4
src/engine/objects/Zone.java

@ -112,8 +112,8 @@ public class Zone extends AbstractGameObject { @@ -112,8 +112,8 @@ public class Zone extends AbstractGameObject {
if (zone.playerCityID > 0) {
writer.put((byte) 1); // Player City - True
writer.putFloat(Enum.CityBoundsType.ZONE.extents);
writer.putFloat(Enum.CityBoundsType.ZONE.extents);
writer.putFloat(Enum.CityBoundsType.GRID.extents);
writer.putFloat(Enum.CityBoundsType.GRID.extents);
} else
writer.put((byte) 0); // Player City - False

Loading…
Cancel
Save