mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
removed warning
This commit is contained in:
parent
c28dfc2fa4
commit
c4badcea6e
@ -278,7 +278,6 @@ namespace MWMechanics
|
|||||||
const ESM::Pathgrid::Point &nextPoint = *mPath.begin();
|
const ESM::Pathgrid::Point &nextPoint = *mPath.begin();
|
||||||
float directionX = nextPoint.mX - x;
|
float directionX = nextPoint.mX - x;
|
||||||
float directionY = nextPoint.mY - y;
|
float directionY = nextPoint.mY - y;
|
||||||
float directionResult = sqrt(directionX * directionX + directionY * directionY);
|
|
||||||
|
|
||||||
return Ogre::Math::ATan2(directionX,directionY).valueDegrees();
|
return Ogre::Math::ATan2(directionX,directionY).valueDegrees();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user