diff options
author | Florian Jung <flo@windfisch.org> | 2016-03-02 15:25:58 +0100 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2016-03-02 15:25:58 +0100 |
commit | dfb1e0d7e8b62dd72a5370b2aa8e2e07236189ce (patch) | |
tree | b615035101b95ce1de8fb780191f202ae790b394 | |
parent | 292224d25aea40e812eb0411f3ff2df0a67fa3a3 (diff) |
re-enable escape mode
-rw-r--r-- | strategy.py | 2 |
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)) |