diff options
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index f2f02d165eb..2c882cad949 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -500,7 +500,7 @@ class TRINITY_DLL_SPEC Creature : public Unit void Update( uint32 time ); // overwrited Unit::Update void GetRespawnCoord(float &x, float &y, float &z, float* ori = NULL, float* dist =NULL) const; - uint32 GetEquipmentId() const { return m_equipmentId; } + uint32 GetEquipmentId() const { return GetCreatureInfo()->equipmentId; } uint32 HasSummonMask(uint32 mask) const { return mask & m_summonMask; } bool isSummon() const { return m_summonMask & SUMMON_MASK_SUMMON; } |