summaryrefslogtreecommitdiffhomepage
path: root/src/search-astar.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-03 01:35:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-03 01:48:01 +0200
commit6538c66308b98bc0f9875355b1247502aff7c07c (patch)
treeac98846492ff23e83af41bd440c2c3521fcc42bc /src/search-astar.hpp
parent181941780ae82c394754be42d28b92e57301fa77 (diff)
src/search: add tiny constant value to bbox size
Diffstat (limited to 'src/search-astar.hpp')
-rw-r--r--src/search-astar.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search-astar.hpp b/src/search-astar.hpp
index 61553f80..dee9f5d6 100644
--- a/src/search-astar.hpp
+++ b/src/search-astar.hpp
@@ -26,7 +26,7 @@ public:
// todo add simple bresenham short-circuit
path_search_result Dijkstra(world& w, point from, point to,
- object_id own_id, uint32_t max_dist, Vector2ub own_size,
+ object_id own_id, uint32_t max_dist, Vector2ui own_size,
int debug = 0, const pred& p = Search::never_continue());
private: