Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type

This commit is contained in:
Ovahlord committed 2020-01-26 02:07:01 +01:00
1 parent c2a33311cf
commit ede6b8caf0
1 file changed
+1 -1
+1 -1
View File
@@ -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();