[c12600] Add condition_id support to npc_spellclick_spells

This commit is contained in:
Schmoozerd 2013-05-31 11:12:32 +01:00 committed by Antz
parent 15bb475d40
commit 89f97b85fd
9 changed files with 194 additions and 60 deletions

View file

@ -22625,7 +22625,7 @@ bool Player::canSeeSpellClickOn(Creature const* c) const
SpellClickInfoMapBounds clickPair = sObjectMgr.GetSpellClickInfoMapBounds(c->GetEntry());
for (SpellClickInfoMap::const_iterator itr = clickPair.first; itr != clickPair.second; ++itr)
if (itr->second.IsFitToRequirements(this))
if (itr->second.IsFitToRequirements(this, c))
return true;
return false;