Browse Source

terraform update

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

4
src/engine/Enum.java

@ -2310,8 +2310,8 @@ public class Enum { @@ -2310,8 +2310,8 @@ public class Enum {
public enum CityBoundsType {
GRID(640),
ZONE(775),
PLACEMENT(776);
ZONE(680),
PLACEMENT(681);
public final float extents;

4
src/engine/objects/Zone.java

@ -113,8 +113,8 @@ public class Zone extends AbstractGameObject { @@ -113,8 +113,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