bugfix-citysizing #7

Merged
MagicBot merged 3 commits from bugfix-citysizing into master 2022-05-22 13:07:28 +00:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit 894427af72 - Show all commits
+1 -2
View File
@@ -2416,8 +2416,7 @@ public class Enum {
public enum CityBoundsType { public enum CityBoundsType {
GRID(448), GRID(640),
TERRAFORM(544),
ZONE(672), ZONE(672),
SIEGE(814); SIEGE(814);
+2 -2
View File
@@ -359,8 +359,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.TERRAFORM.extents); writer.putFloat(Enum.CityBoundsType.ZONE.extents);
writer.putFloat(Enum.CityBoundsType.TERRAFORM.extents); writer.putFloat(Enum.CityBoundsType.ZONE.extents);
} else } else
writer.put((byte) 0); // Player City - False writer.put((byte) 0); // Player City - False