From 234a4d97077113ca8cf04def1687730da22408a8 Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 10 Mar 2009 23:20:01 +0100 Subject: [PATCH] Fix crash. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 80d8c0ac0e..d7b3305c55 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)