Some corrections to previous commits

This commit is contained in:
ShinDarth
2016-08-17 10:14:13 +02:00
parent a6d4db8910
commit cd250f3fec
2 changed files with 6 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ void RandomMovementGenerator<Creature>::_setRandomLocation(Creature* creature)
// Xinef: tree climbing, cut as much as we can
if (zDiff > 2.0f ||
(G3D::fuzzyNe(zDiff, 0.0f) && distDiff / zDiff < 2.15f)) // ~25<EFBFBD>
(G3D::fuzzyNe(zDiff, 0.0f) && distDiff / zDiff < 2.15f)) // ~25˚
{
_validPointsVector[_currentPoint].erase(randomIter);
_preComputedPaths.erase(pathIdx);