Browse Source

Using original MB values when sizing city terraform.

pull/7/head
MagicBot 3 years ago
parent
commit
894427af72
  1. 3
      src/engine/Enum.java
  2. 4
      src/engine/objects/Zone.java

3
src/engine/Enum.java

@ -2416,8 +2416,7 @@ public class Enum { @@ -2416,8 +2416,7 @@ public class Enum {
public enum CityBoundsType {
GRID(448),
TERRAFORM(544),
GRID(640),
ZONE(672),
SIEGE(814);

4
src/engine/objects/Zone.java

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

Loading…
Cancel
Save