From 5c3e193bc13c22baf59d352f1fe331aa8d3cec44 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 23:13:28 +0000 Subject: [PATCH] Decompile fn_09946 (UIOngoingQuestScrollWnd::RefreshHuntTexts) Batch #16541 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_09946 UIOngoingQuestScrollWnd::RefreshHuntTexts: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Quest/UIRenewQuestWnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Quest/UIRenewQuestWnd.cpp b/Source/UI/Quest/UIRenewQuestWnd.cpp index 681df2cc8..0ee28cf61 100644 --- a/Source/UI/Quest/UIRenewQuestWnd.cpp +++ b/Source/UI/Quest/UIRenewQuestWnd.cpp @@ -212,7 +212,7 @@ void UIOngoingQuestScrollWnd::RefreshHuntTexts() { const short minLevel = quest.m_huntMinLevel[index]; const short maxLevel = quest.m_huntMaxLevel[index]; const char* name = quest.m_huntName[index]; - if (minLevel > -1 && maxLevel > -1 && (minLevel != 0 || maxLevel != 0)) { + if (-1 < minLevel && -1 < maxLevel && (0 != minLevel || 0 != maxLevel)) { if (minLevel == 0) { text = static_cast(FormatOwnedString("%s Lv.%dâ–¼", name, maxLevel)); } else if (maxLevel == 0) {