From f0c8efea55df7d1938e7959f9268e0f86e88b4bd Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 11 Aug 2009 22:20:34 -0500 Subject: *Fix the equip visual of quest endless hunger. --HG-- branch : trunk --- src/game/Creature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Creature.h') 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; } -- cgit v1.2.3