From 27efc6a2dc35739bf01fb7282b46bcfd887fa88c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 10:52:20 +0000 Subject: [PATCH] Decompile fn_05442 (RenewQuestOngoingInfo::GetHuntText) Batch #18085 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_05442 RenewQuestOngoingInfo::GetHuntText: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, KWDev, 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Contents/Quest/RenewQuestMgr.cpp b/Source/Contents/Quest/RenewQuestMgr.cpp index ae4bcbe95..3e7eaf4c2 100644 --- a/Source/Contents/Quest/RenewQuestMgr.cpp +++ b/Source/Contents/Quest/RenewQuestMgr.cpp @@ -359,10 +359,10 @@ std::string RenewQuestOngoingInfo::GetHuntText(int index) const { if (this->m_huntMinLevel[index] >= 0 && this->m_huntMaxLevel[index] >= 0 && (minLevel != 0 || this->m_huntMaxLevel[index] != 0)) { if (minLevel == 0) { text = std::format("{} Lv.{}▼", name, maxLevel); - } else if (this->m_huntMaxLevel[index] != 0) { - text = std::format("{} Lv.{}~Lv.{}", name, minLevel, maxLevel); - } else { + } else if (this->m_huntMaxLevel[index] == 0) { text = std::format("{} Lv.{}▲", name, minLevel); + } else { + text = std::format("{} Lv.{}~Lv.{}", name, minLevel, maxLevel); } } else { text = name;