mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 20:45:33 +00:00
minor cleanup
This commit is contained in:
parent
c80ffa0a16
commit
51067698a8
1 changed files with 1 additions and 2 deletions
|
@ -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