From 52c0ea7e5802dbbc05223d6b4493225ce6beb8ee Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 9 Oct 2023 04:05:31 +0200 Subject: oops Diagonal movement waas broken. --- src/path-search.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path-search.hpp b/src/path-search.hpp index 2705b1f6..5e5c97e4 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -38,7 +38,7 @@ class path_search final public: static constexpr int div_factor = 4; static constexpr auto div_size = iTILE_SIZE2 / div_factor; - static constexpr auto min_size = div_size / 2; + static constexpr auto min_size = div_size * 2; template struct bbox { VectorTypeFor<2, T> min, max; }; -- cgit v1.2.3