Fixed some problems with pets, port from tc1, by krz, thx Frankir.

--HG--
branch : trunk
This commit is contained in:
n0n4m3 committed 2010-01-16 19:11:32 +03:00
1 parent e031df23fc
commit 706718b28c
4 files changed
+18 -3

No files matched your search

+3
View File
@@ -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)