mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:26:40 +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 mMaxDist;
 | 
				
			||||||
            float mRemainingDuration; // In seconds
 | 
					            float mRemainingDuration; // In seconds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            PathFinder mPathFinder;
 | 
					            //PathFinder mPathFinder;
 | 
				
			||||||
            int mCellX;
 | 
					            int mCellX;
 | 
				
			||||||
            int mCellY;
 | 
					            int mCellY;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,7 @@
 | 
				
			||||||
namespace MWMechanics
 | 
					namespace MWMechanics
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    AiTravel::AiTravel(float x, float y, float z)
 | 
					    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())
 | 
					    , mCellX(std::numeric_limits<int>::max())
 | 
				
			||||||
    , mCellY(std::numeric_limits<int>::max())
 | 
					    , mCellY(std::numeric_limits<int>::max())
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					@ -25,7 +25,6 @@ namespace MWMechanics
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    AiTravel::AiTravel(const ESM::AiSequence::AiTravel *travel)
 | 
					    AiTravel::AiTravel(const ESM::AiSequence::AiTravel *travel)
 | 
				
			||||||
        : mX(travel->mData.mX), mY(travel->mData.mY), mZ(travel->mData.mZ)
 | 
					        : mX(travel->mData.mX), mY(travel->mData.mY), mZ(travel->mData.mZ)
 | 
				
			||||||
        , mPathFinder()
 | 
					 | 
				
			||||||
        , mCellX(std::numeric_limits<int>::max())
 | 
					        , mCellX(std::numeric_limits<int>::max())
 | 
				
			||||||
        , mCellY(std::numeric_limits<int>::max())
 | 
					        , mCellY(std::numeric_limits<int>::max())
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,7 +39,6 @@ namespace MWMechanics
 | 
				
			||||||
            int mCellX;
 | 
					            int mCellX;
 | 
				
			||||||
            int mCellY;
 | 
					            int mCellY;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            PathFinder mPathFinder;
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue