aboutsummaryrefslogtreecommitdiff
path: root/go/game/range.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/range.go')
-rw-r--r--go/game/range.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/game/range.go b/go/game/range.go
index c98e1c44..83003dfa 100644
--- a/go/game/range.go
+++ b/go/game/range.go
@@ -27,7 +27,6 @@ func DistanceBetweenPermanents(p1, p2 Permanent) int {
}
func IsPositionInRange(origin Position, pos Position, r int) bool {
-
return DistanceBetweenPositions(origin, pos) <= r
}