From e4f23e097b731aaa221c2098f8e6cf1cf5ae5e5c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2023 04:04:06 +0200 Subject: a --- src/path-search.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path-search.hpp') diff --git a/src/path-search.hpp b/src/path-search.hpp index 1d48857a..b37afa34 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -123,7 +123,7 @@ public: // todo add simple bresenham short-circuit path_search_result Dijkstra(world& w, Vector2ub own_size, object_id own_id, - point from, point to, uint32_t max_dist = (uint32_t)-1, + point from, point to, uint32_t max_dist, const pred& p = path_search::never_continue()); }; -- cgit v1.2.3