diff options
author | QAston <none@none> | 2009-03-10 23:20:01 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-10 23:20:01 +0100 |
commit | 234a4d97077113ca8cf04def1687730da22408a8 (patch) | |
tree | dff6dc9120f630ae600c781ca64f583a06d871ca | |
parent | fdbcfc548d3ba6503c4275fdd603c0986a01ca34 (diff) |
Fix crash.
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 80d8c0ac0ef..d7b3305c55d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4413,7 +4413,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur) // Remove all auras by aura caster for (uint8 a=0;a<3;++a) { - spellEffectPair spair = spellEffectPair((*i).second->GetId(), a); + spellEffectPair spair = spellEffectPair(i_spellId, a); for(AuraMap::iterator iter = m_Auras.lower_bound(spair); iter != m_Auras.upper_bound(spair);) { if(iter->second->GetCasterGUID()==caster) |