Browse Source

terraform size correction

lakebane-new
FatBoy-DOTC 5 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 {
public enum CityBoundsType { public enum CityBoundsType {
GRID(640), GRID(416),
ZONE(875), ZONE(672),
PLACEMENT(876); PLACEMENT(673);
public final float extents; public final float extents;

4
src/engine/objects/Zone.java

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

Loading…
Cancel
Save