[10572] Drop unused Spell::m_triggeringContainer

This commit is contained in:
VladimirMangos 2010-10-01 16:59:40 +04:00
parent 85f8219ecf
commit 41e41947e7
4 changed files with 7 additions and 9 deletions

View file

@ -1118,7 +1118,7 @@ void Unit::CastSpell(Unit* Victim, SpellEntry const *spellInfo, bool triggered,
triggeredBy = triggeredByAura->GetSpellProto();
}
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, NULL, triggeredBy);
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, triggeredBy);
SpellCastTargets targets;
targets.setUnitTarget( Victim );
@ -1164,7 +1164,7 @@ void Unit::CastCustomSpell(Unit* Victim, SpellEntry const *spellInfo, int32 cons
triggeredBy = triggeredByAura->GetSpellProto();
}
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, NULL, triggeredBy);
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, triggeredBy);
if(bp0)
spell->m_currentBasePoints[EFFECT_INDEX_0] = *bp0;
@ -1221,7 +1221,7 @@ void Unit::CastSpell(float x, float y, float z, SpellEntry const *spellInfo, boo
triggeredBy = triggeredByAura->GetSpellProto();
}
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, NULL, triggeredBy);
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster, triggeredBy);
SpellCastTargets targets;
targets.setDestination(x, y, z);