mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
Make Pathfinder constructor inline
This commit is contained in:
parent
92f52287bf
commit
b6dd2119a6
2 changed files with 4 additions and 6 deletions
|
@ -82,11 +82,6 @@ namespace MWMechanics
|
|||
return (std::abs(from.z() - h) <= PATHFIND_Z_REACH);
|
||||
}
|
||||
|
||||
PathFinder::PathFinder()
|
||||
: mCell(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* NOTE: This method may fail to find a path. The caller must check the
|
||||
* result before using it. If there is no path the AI routies need to
|
||||
|
|
|
@ -56,7 +56,10 @@ namespace MWMechanics
|
|||
class PathFinder
|
||||
{
|
||||
public:
|
||||
PathFinder();
|
||||
PathFinder()
|
||||
: mCell(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
void clearPath()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue