diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 9d1c82c5..bf66c839 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -570,22 +570,6 @@ public class Mine extends AbstractGameObject { } //add base production on top; totalModded += baseProduction; - //skip distance check for expansion. - if (this.isExpansion()) - return (int) totalModded; - - if (this.owningGuild.isEmptyGuild() == false) { - if (this.owningGuild.getOwnedCity() != null) { - float distanceSquared = this.owningGuild.getOwnedCity().getLoc().distanceSquared2D(mineBuilding.getLoc()); - - if (distanceSquared > sqr(10000 * 3)) - totalModded *= .25f; - else if (distanceSquared > sqr(10000 * 2)) - totalModded *= .50f; - else if (distanceSquared > sqr(10000)) - totalModded *= .75f; - } - } return (int) totalModded; }