mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type
This commit is contained in:
@@ -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