forked from teamnwah/openmw-tes3coop
Remove a firing assert (Fixes #2871)
This commit is contained in:
parent
e888fd7034
commit
dca08b0b42
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ namespace MWMechanics
|
||||||
}
|
}
|
||||||
|
|
||||||
mPath = mCell->aStarSearch(startNode, endNode.first);
|
mPath = mCell->aStarSearch(startNode, endNode.first);
|
||||||
assert(!mPath.empty());
|
if (mPath.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
// convert supplied path to world co-ordinates
|
// convert supplied path to world co-ordinates
|
||||||
for (std::list<ESM::Pathgrid::Point>::iterator iter(mPath.begin()); iter != mPath.end(); ++iter)
|
for (std::list<ESM::Pathgrid::Point>::iterator iter(mPath.begin()); iter != mPath.end(); ++iter)
|
||||||
|
|
Loading…
Reference in a new issue