From 77147e14e534e2d583b89be22173d4a41992864d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 14:29:38 +0000 Subject: [PATCH] Decompile fn_10812 (UINameBalloonText::Paint) Batch #13370 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_10812 UINameBalloonText::Paint: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Toshiro, codeplay 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 72fc23da..04e17fdb 100644 --- a/Source/UI/Text/UIBalloonText.cpp +++ b/Source/UI/Text/UIBalloonText.cpp @@ -224,9 +224,9 @@ void UINameBalloonText::Paint() { } lines: - for (const std::string& line : this->m_lines) { + for (auto line = this->m_lines.begin(); line != this->m_lines.end(); ++line) { DrawOutlinedText( - *this, x, y, line.c_str(), static_cast(line.size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight, + *this, x, y, line->c_str(), static_cast(line->size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight, g_serviceFlag06, 0 ); y += g_nameBalloonFontHeight + 2;