diff --git a/apps/openmw/mwmechanics/pathfinding.cpp b/apps/openmw/mwmechanics/pathfinding.cpp index 2efd06e7b..c74eddf4c 100644 --- a/apps/openmw/mwmechanics/pathfinding.cpp +++ b/apps/openmw/mwmechanics/pathfinding.cpp @@ -299,9 +299,4 @@ namespace MWMechanics } } } - - const MWWorld::CellStore* PathFinder::getPathCell() const - { - return mCell; - } } diff --git a/apps/openmw/mwmechanics/pathfinding.hpp b/apps/openmw/mwmechanics/pathfinding.hpp index c03c69cf5..09ef3929d 100644 --- a/apps/openmw/mwmechanics/pathfinding.hpp +++ b/apps/openmw/mwmechanics/pathfinding.hpp @@ -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