From 07716595e0c26ba6d19ee6c498280508ca5aa6c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 Jan 2024 07:59:59 +0100 Subject: a --- src/path-search.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/path-search.hpp') 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& bb, object_id own_id, const pred& p = never_continue()); }; -struct astar +class astar { +public: struct visited { uint32_t dist = (uint32_t)-1; -- cgit v1.2.3