*Remove some unused containers from Spell class.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-08-21 21:00:06 +02:00
1 parent c3343638cb
commit 77bd968c63
4 files changed
+5 -27

No files matched your search

+2 -3
View File
@@ -1773,7 +1773,7 @@ void Spell::EffectDummy(uint32 i)
}
targets.setUnitTarget(unitTarget);
Spell* spell = new Spell(m_caster, spellInfo, triggered, m_originalCasterGUID, NULL, true);
Spell* spell = new Spell(m_caster, spellInfo, triggered, m_originalCasterGUID, true);
if (bp) spell->m_currentBasePoints[0] = SpellMgr::CalculateSpellEffectBaseAmount(bp, spellInfo, 0);
spell->prepare(&targets);
}
@@ -1957,8 +1957,7 @@ void Spell::EffectTriggerSpell(uint32 effIndex)
if (unitTarget->ToPlayer()->HasSpellCooldown(spellId))
unitTarget->ToPlayer()->RemoveSpellCooldown(spellId);
// Push stealth to list because it must be handled after combat remove
m_TriggerSpells.push_back(spellInfo);
triggered_spell_id = spellId;
return;
}
// Demonic Empowerment -- succubus