mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Entities: don't allow client control if player is still affected by any lose of control state
(cherry picked from commit e315e41d36)
This commit is contained in:
@@ -703,16 +703,16 @@ void PlayerDumpWriter::PopulateGuids(ObjectGuid::LowType guid)
|
||||
switch (baseTable.StoredType)
|
||||
{
|
||||
case GUID_TYPE_ITEM:
|
||||
if (ObjectGuid::LowType guid = (*result)[0].GetUInt64())
|
||||
_items.insert(guid);
|
||||
if (ObjectGuid::LowType itemLowGuid = (*result)[0].GetUInt32())
|
||||
_items.insert(itemLowGuid);
|
||||
break;
|
||||
case GUID_TYPE_MAIL:
|
||||
if (uint32 guid = (*result)[0].GetUInt32())
|
||||
_mails.insert(guid);
|
||||
if (uint32 mailLowGuid = (*result)[0].GetUInt32())
|
||||
_mails.insert(mailLowGuid);
|
||||
break;
|
||||
case GUID_TYPE_PET:
|
||||
if (uint32 guid = (*result)[0].GetUInt32())
|
||||
_pets.insert(guid);
|
||||
if (uint32 petLowGuid = (*result)[0].GetUInt32())
|
||||
_pets.insert(petLowGuid);
|
||||
break;
|
||||
case GUID_TYPE_EQUIPMENT_SET:
|
||||
if (uint64 eqSetId = (*result)[0].GetUInt64())
|
||||
|
||||
Reference in New Issue
Block a user