Misc: Kill trailing white spaces
This commit is contained in:
1 parent
7817610b07
commit
91affef0c6
54 files changed
+89
-89
No files matched your search
@@ -4348,7 +4348,7 @@ void Unit::GetDispellableAuraList(Unit* caster, uint32 dispelMask, DispelCharges
|
||||
if (aura->GetSpellInfo()->GetDispelMask() & dispelMask)
|
||||
{
|
||||
// do not remove positive auras if friendly target
|
||||
// negative auras if non-friendly
|
||||
// negative auras if non-friendly
|
||||
// unless we're reflecting (dispeller eliminates one of it's benefitial buffs)
|
||||
if (isReflect != (aurApp->IsPositive() == IsFriendlyTo(caster)))
|
||||
continue;
|
||||
@@ -13545,7 +13545,7 @@ bool Unit::UpdatePosition(float x, float y, float z, float orientation, bool tel
|
||||
bool const turn = G3D::fuzzyGt(M_PI - fabs(fabs(GetOrientation() - orientation) - M_PI), 0.0f);
|
||||
|
||||
// G3D::fuzzyEq won't help here, in some cases magnitudes differ by a little more than G3D::eps, but should be considered equal
|
||||
bool const relocated = (teleport ||
|
||||
bool const relocated = (teleport ||
|
||||
std::fabs(GetPositionX() - x) > 0.001f ||
|
||||
std::fabs(GetPositionY() - y) > 0.001f ||
|
||||
std::fabs(GetPositionZ() - z) > 0.001f);
|
||||
|
||||
Reference in new issue
Block a user