From f0400b7ae63c8598dc43314203017ecd35e6524f Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 19 Jul 2016 08:31:37 +0200 Subject: [PATCH] Make travis happy --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index bea8ee29517..6ba9e314ad9 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -2051,10 +2051,12 @@ void AuraEffect::HandleAuraTransform(AuraApplication const* aurApp, uint8 mode, // Polymorph (sheep) if (GetSpellInfo()->SpellFamilyName == SPELLFAMILY_MAGE && GetSpellInfo()->SpellIconID == 82 && GetSpellInfo()->SpellVisual[0] == 12978) if (Unit* caster = GetCaster()) + { if (caster->HasAura(52648)) // Glyph of the Penguin model_id = 26452; - else if (caster->HasAura(57927)) // Glyph of the Monkey - model_id = 21362; + else if (caster->HasAura(57927)) // Glyph of the Monkey + model_id = 21362; + } target->SetDisplayId(model_id);