diff --git a/apps/openmw/mwmechanics/pathfinding.cpp b/apps/openmw/mwmechanics/pathfinding.cpp index 1147371b19..777ccacae8 100644 --- a/apps/openmw/mwmechanics/pathfinding.cpp +++ b/apps/openmw/mwmechanics/pathfinding.cpp @@ -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; }