diff --git a/src/main/java/net/rptools/maptool/model/drawing/AbstractTemplate.java b/src/main/java/net/rptools/maptool/model/drawing/AbstractTemplate.java index fd1500a148..2c5ce25992 100644 --- a/src/main/java/net/rptools/maptool/model/drawing/AbstractTemplate.java +++ b/src/main/java/net/rptools/maptool/model/drawing/AbstractTemplate.java @@ -57,9 +57,6 @@ protected AbstractTemplate(AbstractTemplate other) { * Class Variables *-------------------------------------------------------------------------------------------*/ - /** Maximum radius value allowed. */ - public static final int MAX_RADIUS = 100; - /** Minimum radius value allowed. */ public static final int MIN_RADIUS = 1; diff --git a/src/main/java/net/rptools/maptool/model/drawing/BlastTemplate.java b/src/main/java/net/rptools/maptool/model/drawing/BlastTemplate.java index 7464cde575..70de52ac8a 100644 --- a/src/main/java/net/rptools/maptool/model/drawing/BlastTemplate.java +++ b/src/main/java/net/rptools/maptool/model/drawing/BlastTemplate.java @@ -98,10 +98,6 @@ public Rectangle getBounds(Zone zone) { * @param relY The Y coordinate of the control square relative to the origin square */ public void setControlCellRelative(int relX, int relY) { - - relX = Math.max(Math.min(relX, MAX_RADIUS), -MAX_RADIUS); - relY = Math.max(Math.min(relY, MAX_RADIUS), -MAX_RADIUS); - int radius = Math.max(Math.abs(relX), Math.abs(relY)); // Number of cells along axis of smaller offset we need to shift the square in order to "center" // the blast