Make Pathfinder constructor inline

pull/1633/head
elsid 6 years ago
parent 92f52287bf
commit b6dd2119a6
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -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…
Cancel
Save