Browse Source

terraform issue

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
06abea3576
  1. 8
      src/engine/objects/Zone.java

8
src/engine/objects/Zone.java

@ -112,13 +112,13 @@ 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.GRID.extents); writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
writer.putFloat(Enum.CityBoundsType.GRID.extents); writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
} else } else
writer.put((byte) 0); // Player City - False writer.put((byte) 0); // Player City - False
writer.putFloat(zone.xCoord); writer.putFloat(zone.xCoord + 64);
writer.putFloat(zone.zCoord); writer.putFloat(zone.zCoord - 64);
writer.putFloat(zone.yCoord); writer.putFloat(zone.yCoord);
writer.putInt(0); writer.putInt(0);

Loading…
Cancel
Save