*Fix a infinite loop introduced in 3444.
--HG-- branch : trunk
This commit is contained in:
@@ -464,6 +464,7 @@ void MotionMaster::Mutate(MovementGenerator *m, MovementSlot slot)
|
||||
{
|
||||
if(MovementGenerator *curr = Impl[slot])
|
||||
{
|
||||
Impl[slot] = NULL; // in case a new one is generated in this slot during directdelete
|
||||
if(i_top == slot && (m_cleanFlag & MMCF_UPDATE))
|
||||
DelayedDelete(curr);
|
||||
else
|
||||
|
||||
@@ -3903,8 +3903,6 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
|
||||
return true;
|
||||
}
|
||||
|
||||
SpellSpecific spellId_spec = GetSpellSpecific(spellId);
|
||||
|
||||
//bool linked = spellmgr.GetSpellCustomAttr(spellId) & SPELL_ATTR_CU_LINK_AURA? true : false;
|
||||
|
||||
for(AuraMap::iterator i = m_Auras.begin(); i != m_Auras.end(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user