mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +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);
|
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
|
* 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
|
* result before using it. If there is no path the AI routies need to
|
||||||
|
|
|
@ -56,7 +56,10 @@ namespace MWMechanics
|
||||||
class PathFinder
|
class PathFinder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PathFinder();
|
PathFinder()
|
||||||
|
: mCell(nullptr)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void clearPath()
|
void clearPath()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue