summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r--src/path-search.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp
index f3601a26..04c20302 100644
--- a/src/path-search.hpp
+++ b/src/path-search.hpp
@@ -71,13 +71,13 @@ class path_search final
struct obj_position { Vector2 center, size; };
- chunk_cache cache;
- Array<global_coords> output;
-
// todo bucketize by array length
path_search_result* pool = nullptr;
public:
+ chunk_cache cache;
+ Array<global_coords> output;
+
struct bbox { Vector2 min, max; };
void ensure_allocated(chunk_coords a, chunk_coords b);