Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag

This commit is contained in:
Shauren
2022-03-27 18:14:47 +02:00
parent 4eba978670
commit b47185cabf
205 changed files with 616 additions and 584 deletions

View File

@@ -618,7 +618,7 @@ void WorldSession::HandleMailCreateTextItem(WorldPackets::Mail::MailCreateTextIt
if (m->messageType == MAIL_NORMAL)
bodyItem->SetCreator(ObjectGuid::Create<HighGuid::Player>(m->sender));
bodyItem->AddItemFlag(ITEM_FIELD_FLAG_READABLE);
bodyItem->SetItemFlag(ITEM_FIELD_FLAG_READABLE);
ItemPosCountVec dest;
uint8 msg = _player->CanStoreItem(NULL_BAG, NULL_SLOT, dest, bodyItem, false);