mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-28 21:06:41 +00:00
minor cleanup
This commit is contained in:
parent
c80ffa0a16
commit
51067698a8
1 changed files with 1 additions and 2 deletions
|
@ -92,7 +92,7 @@ namespace
|
||||||
const PathGridGraph & mGraph;
|
const PathGridGraph & mGraph;
|
||||||
PointID mGoal;
|
PointID mGoal;
|
||||||
};*/
|
};*/
|
||||||
|
|
||||||
class goalVisited : public boost::default_dijkstra_visitor
|
class goalVisited : public boost::default_dijkstra_visitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -177,7 +177,6 @@ namespace MWMechanics
|
||||||
if(MWBase::Environment::get().getWorld()->castRay(startPoint.mX,startPoint.mY,startPoint.mZ,
|
if(MWBase::Environment::get().getWorld()->castRay(startPoint.mX,startPoint.mY,startPoint.mZ,
|
||||||
endPoint.mX,endPoint.mY,endPoint.mZ) )
|
endPoint.mX,endPoint.mY,endPoint.mZ) )
|
||||||
{
|
{
|
||||||
std::cout << "hit";
|
|
||||||
int start = getClosestPoint(pathGrid,startPoint.mX - xCell,startPoint.mY - yCell,startPoint.mZ);
|
int start = getClosestPoint(pathGrid,startPoint.mX - xCell,startPoint.mY - yCell,startPoint.mZ);
|
||||||
int end = getClosestPoint(pathGrid,endPoint.mX - xCell,endPoint.mY - yCell,endPoint.mZ);
|
int end = getClosestPoint(pathGrid,endPoint.mX - xCell,endPoint.mY - yCell,endPoint.mZ);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue