mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/PlayerDump: Fix collecting pet guids
This commit is contained in:
@@ -711,7 +711,7 @@ void PlayerDumpWriter::PopulateGuids(ObjectGuid::LowType guid)
|
||||
_mails.insert(guid);
|
||||
break;
|
||||
case GUID_TYPE_PET:
|
||||
if (ObjectGuid::LowType guid = (*result)[0].GetUInt64())
|
||||
if (uint32 guid = (*result)[0].GetUInt32())
|
||||
_pets.insert(guid);
|
||||
break;
|
||||
case GUID_TYPE_EQUIPMENT_SET:
|
||||
|
||||
@@ -97,8 +97,8 @@ class TC_GAME_API PlayerDumpWriter : public PlayerDump
|
||||
bool AppendTable(StringTransaction& trans, ObjectGuid::LowType guid, TableStruct const& tableStruct, DumpTable const& dumpTable);
|
||||
void PopulateGuids(ObjectGuid::LowType guid);
|
||||
|
||||
std::set<ObjectGuid::LowType> _pets;
|
||||
std::set<ObjectGuid::LowType> _mails;
|
||||
std::set<uint32> _pets;
|
||||
std::set<uint32> _mails;
|
||||
std::set<ObjectGuid::LowType> _items;
|
||||
|
||||
std::set<uint64> _itemSets;
|
||||
|
||||
Reference in New Issue
Block a user