Pathing bugfix.

When path contains one one point from path grid, point is no longer being discarded.
sceneinput
dteviot 10 years ago
parent 942a987d52
commit 4d9d8a060d

@ -212,6 +212,10 @@ namespace MWMechanics
// nodes are the same
if(startNode == endNode.first)
{
ESM::Pathgrid::Point temp(mPathgrid->mPoints[startNode]);
converter.ToWorld(temp);
mPath.push_back(temp);
mPath.push_back(endPoint);
return;
}

Loading…
Cancel
Save