Core/Spells: Fix pick lock - thanks to cyberbrest for pointing the reason of this issue.

This commit is contained in:
QAston committed 2011-09-03 20:16:15 +02:00
commit ddacd0de94
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -4756,7 +4756,7 @@ SpellCastResult Spell::CheckCast(bool strict)
}
{
SpellCastResult castResult = m_spellInfo->CheckExplicitTarget(m_caster, m_targets.GetObjectTarget());
SpellCastResult castResult = m_spellInfo->CheckExplicitTarget(m_caster, m_targets.GetObjectTarget(), m_targets.GetItemTarget());
if (castResult != SPELL_CAST_OK)
return castResult;
}