diff options
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; |