[7089] Implement ITEM_ENCHANTMENT_TYPE_USE_SPELL support.

This allow cast spells at item used from engineering recipes 54999, 54736, 54998, 55002, 55016, 54793.
This commit is contained in:
VladimirMangos 2009-01-15 03:03:19 +03:00
parent c0824b35c6
commit 633cad5a56
8 changed files with 105 additions and 64 deletions

View file

@ -2036,7 +2036,7 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
}
}
void Spell::prepare(SpellCastTargets * targets, Aura* triggeredByAura)
void Spell::prepare(SpellCastTargets const* targets, Aura* triggeredByAura)
{
m_targets = *targets;