mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Remove a firing assert (Fixes #2871)
This commit is contained in:
parent
e888fd7034
commit
dca08b0b42
@ -221,7 +221,8 @@ namespace MWMechanics
|
||||
}
|
||||
|
||||
mPath = mCell->aStarSearch(startNode, endNode.first);
|
||||
assert(!mPath.empty());
|
||||
if (mPath.empty())
|
||||
return;
|
||||
|
||||
// convert supplied path to world co-ordinates
|
||||
for (std::list<ESM::Pathgrid::Point>::iterator iter(mPath.begin()); iter != mPath.end(); ++iter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user