1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

removed warning

This commit is contained in:
terrorfisch 2014-10-10 23:51:29 +02:00
parent c28dfc2fa4
commit c4badcea6e

View file

@ -278,7 +278,6 @@ namespace MWMechanics
const ESM::Pathgrid::Point &nextPoint = *mPath.begin();
float directionX = nextPoint.mX - x;
float directionY = nextPoint.mY - y;
float directionResult = sqrt(directionX * directionX + directionY * directionY);
return Ogre::Math::ATan2(directionX,directionY).valueDegrees();
}