Decompile fn_16352 (RecommendedQuestInfo::CUIScrollWindow::SetQuest)

Batch #17619 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_16352 RecommendedQuestInfo::CUIScrollWindow::SetQuest: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane, Eofim
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-12 01:36:09 +00:00
commit 9ebfc93e85

View file

@ -282,8 +282,9 @@ void CUIScrollWindow::SetQuest(unsigned int questId) {
info->textViewer->Clear();
}
const auto found = g_renewQuestMgr->m_recommendedQuests.find(questId);
if (found != g_renewQuestMgr->m_recommendedQuests.end()) {
const auto& quests = g_renewQuestMgr->m_recommendedQuests;
const auto found = quests.find(questId);
if (found != quests.end()) {
const RenewQuestRecommendedInfo& quest = found->second;
this->background->SetImage("유저인터페이스\\renew_questui\\" + quest.backgroundImage);