Cleanup Operator padding

This commit is contained in:
Schmoozerd 2012-07-20 17:38:23 +02:00
parent 9141299127
commit e32b9953a1
264 changed files with 6715 additions and 6715 deletions

View file

@ -566,7 +566,7 @@ void CreatureLinkingHolder::SetFollowing(Creature* pWho, Creature* pWhom)
dy = sY - mY;
dz = sZ - mZ;
float dist = sqrt(dx*dx + dy*dy + dz*dz);
float dist = sqrt(dx * dx + dy * dy + dz * dz);
// REMARK: This code needs the same distance calculation that is used for following
// Atm this means we have to subtract the bounding radiuses
dist = dist - pWho->GetObjectBoundingRadius() - pWhom->GetObjectBoundingRadius();
@ -595,7 +595,7 @@ bool CreatureLinkingHolder::IsSlaveInRangeOfBoss(Creature* pSlave, Creature* pBo
dx = sX - mX;
dy = sY - mY;
return dx*dx + dy*dy < searchRange*searchRange;
return dx * dx + dy * dy < searchRange * searchRange;
}
// Function to check if a passive spawning condition is met