Core: Continued cleanup

If and for whitespaces.
This commit is contained in:
kaelima committed 2011-06-12 02:30:32 +02:00
1 parent da03bbbdab
commit b9e8694540
46 files changed
+219 -222

No files matched your search

+2 -2
View File
@@ -1848,7 +1848,7 @@ int32 SpellMgr::CalculateSpellEffectAmount(SpellEntry const* spellEntry, uint8 e
if (caster)
{
// bonus amount from combo points
if (caster->m_movedPlayer)
if (caster->m_movedPlayer)
if (uint8 comboPoints = caster->m_movedPlayer->GetComboPoints())
if (float comboDamage = spellEntry->EffectPointsPerComboPoint[effIndex])
value += comboDamage * comboPoints;
@@ -2797,7 +2797,7 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
return DIMINISHING_NONE;
case SPELLFAMILY_GENERIC:
// some generic arena related spells have by some strange reason MECHANIC_TURN
if (spellproto->Mechanic == MECHANIC_TURN)
if (spellproto->Mechanic == MECHANIC_TURN)
return DIMINISHING_NONE;
switch (spellproto->Id)
{