1
This commit is contained in:
parent
b3046a9c2c
commit
97057b81c2
@ -717,7 +717,15 @@ int MapInstance::FindStraightPath(int layer,
|
||||
int nstraightPath;
|
||||
int pos = 0;
|
||||
|
||||
navmesh_query_->findPath(startRef, endRef, startNearestPt, endNearestPt, &filter, polys, &npolys, MAX_POLYS);
|
||||
navmesh_query_->findPath
|
||||
(startRef,
|
||||
endRef,
|
||||
startNearestPt,
|
||||
endNearestPt,
|
||||
&filter,
|
||||
polys,
|
||||
&npolys,
|
||||
MAX_POLYS);
|
||||
nstraightPath = 0;
|
||||
|
||||
if (npolys) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user