*Some clean up and add debug info to find the reason of crash.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-26 19:28:21 -05:00
1 parent 390257b2f6
commit 21af4cf832
11 files changed
+88 -58

No files matched your search

+5
View File
@@ -298,6 +298,11 @@ void Minion::RemoveFromWorld()
TempSummon::RemoveFromWorld();
}
bool Minion::IsGuardianPet() const
{
return isPet() || m_Properties && m_Properties->Category == SUMMON_CATEGORY_PET;
}
Guardian::Guardian(SummonPropertiesEntry const *properties, Unit *owner) : Minion(properties, owner)
, m_bonusdamage(0)
{