mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 12:45:36 +00:00
removed unecessary PathFinders
This commit is contained in:
parent
4c36c67fb8
commit
cae948df96
3 changed files with 2 additions and 4 deletions
|
@ -48,7 +48,7 @@ namespace MWMechanics
|
|||
float mMaxDist;
|
||||
float mRemainingDuration; // In seconds
|
||||
|
||||
PathFinder mPathFinder;
|
||||
//PathFinder mPathFinder;
|
||||
int mCellX;
|
||||
int mCellY;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
namespace MWMechanics
|
||||
{
|
||||
AiTravel::AiTravel(float x, float y, float z)
|
||||
: mX(x),mY(y),mZ(z),mPathFinder()
|
||||
: mX(x),mY(y),mZ(z)
|
||||
, mCellX(std::numeric_limits<int>::max())
|
||||
, mCellY(std::numeric_limits<int>::max())
|
||||
{
|
||||
|
@ -25,7 +25,6 @@ namespace MWMechanics
|
|||
|
||||
AiTravel::AiTravel(const ESM::AiSequence::AiTravel *travel)
|
||||
: mX(travel->mData.mX), mY(travel->mData.mY), mZ(travel->mData.mZ)
|
||||
, mPathFinder()
|
||||
, mCellX(std::numeric_limits<int>::max())
|
||||
, mCellY(std::numeric_limits<int>::max())
|
||||
{
|
||||
|
|
|
@ -39,7 +39,6 @@ namespace MWMechanics
|
|||
int mCellX;
|
||||
int mCellY;
|
||||
|
||||
PathFinder mPathFinder;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue