aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-11 22:20:34 -0500
committermegamage <none@none>2009-08-11 22:20:34 -0500
commitf0c8efea55df7d1938e7959f9268e0f86e88b4bd (patch)
treeff20d03fefd067886f034462094a0b05b9174b24 /src/game
parent1ff5e51ddcd9110596791802ace878aab14b46be (diff)
*Fix the equip visual of quest endless hunger.
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/Creature.h2
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; }