Build error fixes

43 errors left at this point
This commit is contained in:
Charles A Edwards 2016-01-30 19:17:47 +00:00 committed by Antz
parent 3abc31c429
commit 924d182855
18 changed files with 123 additions and 71 deletions

View file

@ -102,7 +102,7 @@ bool PetAI::IsVisible(Unit* pl) const
bool PetAI::_needToStop() const
{
// This is needed for charmed creatures, as once their target was reset other effects can trigger threat
if (m_creature->isCharmed() && m_creature->getVictim() == m_creature->GetCharmer())
if (m_creature->IsCharmed() && m_creature->getVictim() == m_creature->GetCharmer())
return true;
return !m_creature->getVictim()->IsTargetableForAttack();