1
0
Fork 0
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:
terrorfisch 2014-10-08 23:09:50 +02:00
parent 4c36c67fb8
commit cae948df96
3 changed files with 2 additions and 4 deletions

View file

@ -48,7 +48,7 @@ namespace MWMechanics
float mMaxDist;
float mRemainingDuration; // In seconds
PathFinder mPathFinder;
//PathFinder mPathFinder;
int mCellX;
int mCellY;
};

View file

@ -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())
{

View file

@ -39,7 +39,6 @@ namespace MWMechanics
int mCellX;
int mCellY;
PathFinder mPathFinder;
};
}