summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2016-03-02 15:25:58 +0100
committerFlorian Jung <flo@windfisch.org>2016-03-02 15:25:58 +0100
commitdfb1e0d7e8b62dd72a5370b2aa8e2e07236189ce (patch)
treeb615035101b95ce1de8fb780191f202ae790b394
parent292224d25aea40e812eb0411f3ff2df0a67fa3a3 (diff)
re-enable escape mode
-rw-r--r--strategy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/strategy.py b/strategy.py
index 6579ae0..13473a2 100644
--- a/strategy.py
+++ b/strategy.py
@@ -253,7 +253,7 @@ class Strategy:
else:
allowed_dist = "don't care"
- if allowed_dist != "don't care" and dist < allowed_dist and False:
+ if allowed_dist != "don't care" and dist < allowed_dist:
try:
angle = math.atan2(relpos[1],relpos[0])
corridor_halfwidth = math.asin(min(1, cell.size / dist))