summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-08 04:04:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-08 04:04:06 +0200
commite4f23e097b731aaa221c2098f8e6cf1cf5ae5e5c (patch)
treee655cd46c582f6df87df68e5997e997451080937 /src/path-search.hpp
parent5dfb472ff446baa440ff837a076ee24d51d0e183 (diff)
a
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r--src/path-search.hpp2
1 files changed, 1 insertions, 1 deletions
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());
};