From 8f2d4cff7b991936a35bfa7f1b3234a5230876ca Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 02:52:54 +0000 Subject: [PATCH] Decompile fn_12939 (UIBalloonOpenBtn::SendMsg) Batch #12723 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_12939 UIBalloonOpenBtn::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, aDw, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIBalloonOpenBtn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Window/UIBalloonOpenBtn.cpp b/Source/UI/Window/UIBalloonOpenBtn.cpp index 0dade00be..241261300 100644 --- a/Source/UI/Window/UIBalloonOpenBtn.cpp +++ b/Source/UI/Window/UIBalloonOpenBtn.cpp @@ -64,8 +64,8 @@ int UIBalloonOpenBtn::SendMsg(UIWindow* sender, int message, std::intptr_t argum this->m_balloon->m_fontMode = static_cast(g_session.unknown_0F30[0]); this->m_balloon->m_richText = 1; this->m_balloon->SetLine("", popup->m_color); - for (const std::string& description : popup->m_descriptions) { - this->m_balloon->AddLine(description.c_str(), popup->m_color); + for (auto it = popup->m_descriptions.begin(); it != popup->m_descriptions.end(); ++it) { + this->m_balloon->AddLine(it->c_str(), popup->m_color); } this->m_balloon->Move(g_renderer->viewport.centerX + 40, g_renderer->viewport.centerY);