Browse Source

Cities don't actually have a location. They are a property of a zone. Let's start here.

combat-2
MagicBot 1 year ago
parent
commit
4a5c0ae5a0
  1. 2
      src/engine/objects/City.java

2
src/engine/objects/City.java

@ -110,7 +110,7 @@ public class City extends AbstractWorldObject { @@ -110,7 +110,7 @@ public class City extends AbstractWorldObject {
if (establishedTimeStamp != null)
this.established = java.time.LocalDateTime.ofInstant(establishedTimeStamp.toInstant(), ZoneId.systemDefault());
this.location = new Vector3fImmutable(rs.getFloat("xCoord"), rs.getFloat("yCoord"), rs.getFloat("zCoord"));
this.location = Vector3fImmutable.ZERO;
java.sql.Timestamp realmTaxTimeStamp = rs.getTimestamp("realmTaxDate");

Loading…
Cancel
Save