mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 22:45:33 +00:00
aicombat pathfinding fix - check the correct list
This commit is contained in:
parent
85c467f00f
commit
5b48ca114f
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ namespace MWMechanics
|
|||
|
||||
void PathFinder::syncStart(const std::list<ESM::Pathgrid::Point> &path)
|
||||
{
|
||||
if (path.size() < 2)
|
||||
if (mPath.size() < 2)
|
||||
return; //nothing to pop
|
||||
std::list<ESM::Pathgrid::Point>::const_iterator oldStart = path.begin();
|
||||
std::list<ESM::Pathgrid::Point>::iterator iter = ++mPath.begin();
|
||||
|
|
Loading…
Reference in a new issue