*Fix crash.
--HG-- branch : trunk
This commit is contained in:
1 parent
c3026bc755
commit
5808c12f5e
3 files changed
+8
-2
No files matched your search
+2
-2
@@ -3795,9 +3795,9 @@ bool Unit::AddAura(Aura *Aur)
|
||||
{
|
||||
// prevent adding stack more than once
|
||||
stackModified=true;
|
||||
Aur->SetStackAmount(i2->second->GetStackAmount());
|
||||
Aur->InitStackAmount(i2->second->GetStackAmount());
|
||||
if(Aur->GetStackAmount() < aurSpellInfo->StackAmount)
|
||||
Aur->SetStackAmount(Aur->GetStackAmount()+1);
|
||||
Aur->InitStackAmount(Aur->GetStackAmount()+1);
|
||||
}
|
||||
RemoveAura(i2,AURA_REMOVE_BY_STACK);
|
||||
i2=m_Auras.lower_bound(spair);
|
||||
|
||||
Reference in new issue
Block a user