From 3d9708ee92ca49a15435a22f36e3bbc452f460bf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:05:08 +0000 Subject: [PATCH] Decompile fn_05447 (CRenewQuestMgr::WriteOngoingQuests) Batch #18220 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_05447 CRenewQuestMgr::WriteOngoingQuests: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Quest/RenewQuestMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Contents/Quest/RenewQuestMgr.cpp b/Source/Contents/Quest/RenewQuestMgr.cpp index 71cdfb146..ce90cab02 100644 --- a/Source/Contents/Quest/RenewQuestMgr.cpp +++ b/Source/Contents/Quest/RenewQuestMgr.cpp @@ -435,7 +435,8 @@ void CRenewQuestMgr::WriteOngoingQuests(char* buffer) { offset += sizeof(RenewQuestOngoingRecord); for (int index = 0; index < huntCount; ++index) { - RenewQuestHuntRecord hunt = {}; + RenewQuestHuntRecord hunt; + SecureZeroMemory(&hunt, sizeof(hunt)); hunt.huntId = static_cast(info.m_huntId[index]); hunt.monsterCondition = info.m_huntConditionFlags[index]; hunt.monsterId = info.m_huntMobId[index];