[8334] Small cleanup in magic shield back damage code.

Also misc variable use consistence in aura hander (no any affect expected).
This commit is contained in:
VladimirMangos 2009-08-09 08:08:23 +04:00
parent a2b952b15e
commit fe4b057dc2
3 changed files with 6 additions and 8 deletions

View file

@ -4032,7 +4032,7 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
if(apply && GetSpellProto()->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)
{
uint32 mechanic = 1 << m_modifier.m_miscvalue;
uint32 mechanic = 1 << misc;
//immune movement impairment and loss of control
if(GetId()==42292 || GetId()==59752)