Core/Spells: Fix pick lock - thanks to cyberbrest for pointing the reason of this issue.
This commit is contained in:
commit
ddacd0de94
3 files changed
+6
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user