Core/Creatures: Added GetCorpseDelay method to creatures

This commit is contained in:
Shauren
2011-05-13 19:16:53 +02:00
parent 5ab5a492c8
commit 66a663b8e0
2 changed files with 2 additions and 3 deletions
@@ -432,6 +432,7 @@ class Creature : public Unit, public GridObject<Creature>
uint32 GetEquipmentId() const { return GetCreatureInfo()->equipmentId; }
void SetCorpseDelay(uint32 delay) { m_corpseDelay = delay; }
uint32 GetCorpseDelay() const { return m_corpseDelay; }
bool isRacialLeader() const { return GetCreatureInfo()->RacialLeader; }
bool isCivilian() const { return GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_CIVILIAN; }
bool isTrigger() const { return GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER; }