summaryrefslogtreecommitdiff
path: root/src/path_finder.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-07 18:33:03 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-07 18:33:03 +0100
commit5186351345d43801ac45acde8b7e30734eea0349 (patch)
tree7c331bb3c34de2ce31a791f79e7bf783534870d0 /src/path_finder.cpp
parentd0be87d32929c42502fb842aa2b0ab0233313b93 (diff)
Better unit say.
Diffstat (limited to 'src/path_finder.cpp')
-rw-r--r--src/path_finder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path_finder.cpp b/src/path_finder.cpp
index 748a72f..15b1614 100644
--- a/src/path_finder.cpp
+++ b/src/path_finder.cpp
@@ -168,7 +168,7 @@ bool path_finder_t::find(void)
dist_simple = (src - dst).len();
- if (dist_simple < 1.0f)
+ if (dist_simple < 0.5f)
return true;
start = tile_index_at(src) - base;