mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 21:45:33 +00:00
Merge remote-tracking branch 'gus/AIFix2'
This commit is contained in:
commit
b1ffb64a1f
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ namespace MWMechanics
|
|||
void PathFinder::buildPath(const ESM::Pathgrid::Point &startPoint, const ESM::Pathgrid::Point &endPoint,
|
||||
const ESM::Pathgrid *pathGrid, float xCell, float yCell, bool allowShortcuts)
|
||||
{
|
||||
mPath.clear();
|
||||
if(allowShortcuts)
|
||||
{
|
||||
if(MWBase::Environment::get().getWorld()->castRay(startPoint.mX, startPoint.mY, startPoint.mZ,
|
||||
|
|
Loading…
Reference in a new issue