mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10572] Drop unused Spell::m_triggeringContainer
This commit is contained in:
parent
85f8219ecf
commit
41e41947e7
4 changed files with 7 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue