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.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());
};