diff options
Diffstat (limited to 'src/path_finder.cpp')
-rw-r--r-- | src/path_finder.cpp | 2 |
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; |