diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 07:59:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 07:59:59 +0100 |
commit | 07716595e0c26ba6d19ee6c498280508ca5aa6c2 (patch) | |
tree | da22b4d88e63419a366c48037cbef14f8f43a2b4 /src/path-search.hpp | |
parent | ae53b814c310d1996db0b818151ef7b205d03b7b (diff) |
a
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r-- | src/path-search.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp index 8e56f4fd..512a507f 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -65,8 +65,9 @@ public: static bool is_passable(world& w, chunk_coords_ ch0, const bbox<float>& bb, object_id own_id, const pred& p = never_continue()); }; -struct astar +class astar { +public: struct visited { uint32_t dist = (uint32_t)-1; |