From ab4ba5dcab2f59ef4780ab9d4f8b0f1be4c18679 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 05:15:12 +0000 Subject: [PATCH] Decompile fn_10824 (UIVerticalNameBalloonText::Paint) Batch #13112 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_10824 UIVerticalNameBalloonText::Paint: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Text/UIBalloonText.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Text/UIBalloonText.cpp b/Source/UI/Text/UIBalloonText.cpp index 6d9b547f2..72fc23da1 100644 --- a/Source/UI/Text/UIBalloonText.cpp +++ b/Source/UI/Text/UIBalloonText.cpp @@ -247,9 +247,9 @@ void UIVerticalNameBalloonText::Paint() { } } - for (const std::string& line : this->m_lines) { + for (auto line = this->m_lines.begin(); line != this->m_lines.end(); ++line) { this->DrawVerticalOutlinedText( - x, y, line.c_str(), static_cast(line.size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight, g_serviceFlag06 + x, y, line->c_str(), static_cast(line->size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight, g_serviceFlag06 ); x += g_nameBalloonFontHeight + 2; }