This commit is contained in:
Cool Contributor 2025-12-17 04:20:37 +01:00 committed by GitHub
commit ad7f3b7332
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -401,7 +401,7 @@ void NavMeshQueries2D::_query_task_build_path_corridor(NavMeshPathQueryTask2D &p
// unreachable.
if (traversable_polys.is_empty()) {
// Thus use the further reachable polygon
ERR_BREAK_MSG(is_reachable == false, "It's not expect to not find the most reachable polygons");
ERR_BREAK_MSG(is_reachable == false, "Unlikely to find most reachable polygon, aborting.");
is_reachable = false;
if (reachable_end == nullptr) {
// The path is not found and there is not a way out.

View File

@ -401,7 +401,7 @@ void NavMeshQueries3D::_query_task_build_path_corridor(NavMeshPathQueryTask3D &p
// unreachable.
if (traversable_polys.is_empty()) {
// Thus use the further reachable polygon
ERR_BREAK_MSG(is_reachable == false, "It's not expect to not find the most reachable polygons");
ERR_BREAK_MSG(is_reachable == false, "Unlikely to find most reachable polygon, aborting.");
is_reachable = false;
if (reachable_end == nullptr) {
// The path is not found and there is not a way out.