Core/Spell: whitespace fix
This commit is contained in:
1 parent
4049aa298e
commit
a8b9edefbc
1 file changed
+3
-1
@@ -2050,13 +2050,15 @@ void AuraEffect::HandleAuraTransform(AuraApplication const* aurApp, uint8 mode,
|
|||||||
|
|
||||||
// Polymorph (sheep)
|
// Polymorph (sheep)
|
||||||
if (GetSpellInfo()->SpellFamilyName == SPELLFAMILY_MAGE && GetSpellInfo()->SpellIconID == 82 && GetSpellInfo()->SpellVisual[0] == 12978)
|
if (GetSpellInfo()->SpellFamilyName == SPELLFAMILY_MAGE && GetSpellInfo()->SpellIconID == 82 && GetSpellInfo()->SpellVisual[0] == 12978)
|
||||||
|
{
|
||||||
if (Unit* caster = GetCaster())
|
if (Unit* caster = GetCaster())
|
||||||
{
|
{
|
||||||
if (caster->HasAura(52648)) // Glyph of the Penguin
|
if (caster->HasAura(52648)) // Glyph of the Penguin
|
||||||
model_id = 26452;
|
model_id = 26452;
|
||||||
else if (caster->HasAura(57927)) // Glyph of the Monkey
|
else if (caster->HasAura(57927)) // Glyph of the Monkey
|
||||||
model_id = 21362;
|
model_id = 21362;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
target->SetDisplayId(model_id);
|
target->SetDisplayId(model_id);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user