Core/Warden: Fix Warden reporting false positive checks

Issue introduced in 210176fd915cf4ba16f428d3c1a249a71f4aa7a7

(cherry picked from commit c04f53b886ec27dd8cf100524fe93a71dc4e1aa1)
This commit is contained in:
jackpoz
2022-01-26 19:15:22 +01:00
committed by Shauren
parent 00a6f6f705
commit d8cdbac670
+1 -1
View File
@@ -392,7 +392,7 @@ void WardenWin::HandleData(ByteBuffer &buff)
continue;
}
std::vector<uint8> result = rs->Result.ToByteVector();
std::vector<uint8> result = rs->Result.ToByteVector(0, false);
if (memcmp(buff.contents() + buff.rpos(), result.data(), rd->Length) != 0)
{
TC_LOG_DEBUG("warden", "RESULT MEM_CHECK fail CheckId %u account Id %u", *itr, _session->GetAccountId());