mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
removed unecessary PathFinders
This commit is contained in:
parent
4c36c67fb8
commit
cae948df96
@ -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…
x
Reference in New Issue
Block a user