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 {
public enum CityBoundsType { public enum CityBoundsType {
GRID(640), GRID(640),
ZONE(775), ZONE(680),
PLACEMENT(776); PLACEMENT(681);
public final float extents; public final float extents;

4
src/engine/objects/Zone.java

@ -113,8 +113,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