Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type
This commit is contained in:
1 parent
c2a33311cf
commit
ede6b8caf0
1 file changed
+1
-1
@@ -511,7 +511,7 @@ void ObjectMgr::LoadCreatureTemplate(Field* fields)
|
||||
creatureTemplate.dynamicflags = fields[33].GetUInt32();
|
||||
creatureTemplate.family = CreatureFamily(uint32(fields[34].GetUInt8()));
|
||||
creatureTemplate.trainer_class = fields[35].GetUInt32();
|
||||
creatureTemplate.type = uint32(fields[35].GetUInt8());
|
||||
creatureTemplate.type = uint32(fields[36].GetUInt8());
|
||||
creatureTemplate.type_flags = fields[37].GetUInt32();
|
||||
creatureTemplate.type_flags2 = fields[38].GetUInt32();
|
||||
creatureTemplate.lootid = fields[39].GetUInt32();
|
||||
|
||||
Reference in new issue
Block a user