mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
This commit is contained in:
@@ -838,8 +838,8 @@ namespace Acore
|
||||
FriendlyMissingBuffInRange(Unit const* obj, float range, uint32 spellid) : i_obj(obj), i_range(range)
|
||||
{
|
||||
i_spell = spellid;
|
||||
if( SpellInfo const* spell = sSpellMgr->GetSpellInfo(spellid) )
|
||||
if( SpellInfo const* newSpell = sSpellMgr->GetSpellForDifficultyFromSpell(spell, const_cast<Unit*>(obj)) )
|
||||
if (SpellInfo const* spell = sSpellMgr->GetSpellInfo(spellid))
|
||||
if (SpellInfo const* newSpell = sSpellMgr->GetSpellForDifficultyFromSpell(spell, const_cast<Unit*>(obj)))
|
||||
i_spell = newSpell->Id;
|
||||
}
|
||||
bool operator()(Unit* u)
|
||||
|
||||
Reference in New Issue
Block a user