From a9bfea3eadc062bf78ee06e3bfec47da34f5341f Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 22:38:54 +0000 Subject: [PATCH] Confirm fn_12911 (UIQuestDisplay::Paint) Batch #17424 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_12911 UIQuestDisplay::Paint: logic confirmed by peer review (already on main) Peer-reviewed-by: eAthena, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Quest/UIQuestDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Quest/UIQuestDisplay.cpp b/Source/UI/Quest/UIQuestDisplay.cpp index 7ea94cf92..e03ad55c7 100644 --- a/Source/UI/Quest/UIQuestDisplay.cpp +++ b/Source/UI/Quest/UIQuestDisplay.cpp @@ -167,8 +167,8 @@ void UIQuestDisplay::OnRBtnUp(int x, int y) { int multiple = 0; int index = 0; int offset = 0; - const auto end = g_renewQuestMgr->m_ongoingQuests.end(); - for (auto it = g_renewQuestMgr->m_ongoingQuests.begin(); it != end; ++it, ++index) { + const auto end = g_renewQuestMgr->m_ongoingQuests.cend(); + for (auto it = g_renewQuestMgr->m_ongoingQuests.cbegin(); it != end; ++it, ++index) { if (single + multiple + none >= 5) { break; }