mirror of https://github.com/godotengine/godot
Merge cc94cd857b into 1ea6b0ccff
This commit is contained in:
commit
ad7f3b7332
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue