Fix typo in combat distance

deque
scrawl 10 years ago
parent fde6cad24b
commit 180a831e96

@ -280,7 +280,7 @@ namespace MWMechanics
|| actor1.getClass().getCreatureStats(actor1).isDead())
return;
const ESM::Position& actor1Pos = actor2.getRefData().getPosition();
const ESM::Position& actor1Pos = actor1.getRefData().getPosition();
const ESM::Position& actor2Pos = actor2.getRefData().getPosition();
float sqrDist = Ogre::Vector3(actor1Pos.pos).squaredDistance(Ogre::Vector3(actor2Pos.pos));
if (sqrDist > 7168*7168)

Loading…
Cancel
Save