Fixed some problems with pets, port from tc1, by krz, thx Frankir.
--HG-- branch : trunk
This commit is contained in:
1 parent
e031df23fc
commit
706718b28c
4 files changed
+18
-3
No files matched your search
@@ -77,6 +77,9 @@ void PetAI::_stopAttack()
|
||||
|
||||
void PetAI::UpdateAI(const uint32 diff)
|
||||
{
|
||||
if (!m_creature->isAlive())
|
||||
return;
|
||||
|
||||
Unit* owner = m_creature->GetCharmerOrOwner();
|
||||
|
||||
if(m_updateAlliesTimer <= diff)
|
||||
|
||||
Reference in new issue
Block a user