mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 11:55:43 +00:00
Fixes creature equipment not loading correctly. (#688)
This commit is contained in:
@@ -353,7 +353,7 @@ bool Creature::InitEntry(uint32 Entry, const CreatureData* data)
|
||||
|
||||
// Load creature equipment
|
||||
if (!data || data->equipmentId == 0) // use default from the template
|
||||
LoadEquipment(GetCreatureData() ? GetOriginalEquipmentId() : 1);
|
||||
LoadEquipment();
|
||||
else if (data && data->equipmentId != 0) // override, 0 means no equipment
|
||||
{
|
||||
m_originalEquipmentId = data->equipmentId;
|
||||
|
||||
Reference in New Issue
Block a user