1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-29 00:06:41 +00:00

Make PathFinder::getPathCell inline

This commit is contained in:
elsid 2018-08-20 01:08:14 +03:00
parent 2ad3543088
commit 3565d92e11
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 4 additions and 6 deletions

View file

@ -299,9 +299,4 @@ namespace MWMechanics
}
}
}
const MWWorld::CellStore* PathFinder::getPathCell() const
{
return mCell;
}
}

View file

@ -86,7 +86,10 @@ namespace MWMechanics
return mPath;
}
const MWWorld::CellStore* getPathCell() const;
const MWWorld::CellStore* getPathCell() const
{
return mCell;
}
/** Synchronize new path with old one to avoid visiting 1 waypoint 2 times
@note