mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:36:42 +00:00
removed warning
This commit is contained in:
parent
c28dfc2fa4
commit
c4badcea6e
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue