Core/PacketIO: Use hotfix status enum instead of magic numbers in SMSG_DB_REPLY

This commit is contained in:
Shauren
2021-02-28 20:58:03 +01:00
parent 2380fc32dd
commit 68bdf1c830
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ void WorldSession::HandleDBQueryBulk(WorldPackets::Hotfix::DBQueryBulk& dbQuery)
if (store && store->HasRecord(record.RecordID))
{
dbReply.Status = 1;
dbReply.Status = DB2Manager::HotfixRecord::Status::Valid;
dbReply.Timestamp = GameTime::GetGameTime();
store->WriteRecord(record.RecordID, GetSessionDbcLocale(), dbReply.Data);