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).
This commit is contained in:
ragnarok-clanker 2026-11-06 14:29:38 +00:00
commit 77147e14e5

View file

@ -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<unsigned>(line.size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight,
*this, x, y, line->c_str(), static_cast<unsigned>(line->size()), this->m_textColor, this->m_outlineColor, 0, g_nameBalloonFontHeight,
g_serviceFlag06, 0
);
y += g_nameBalloonFontHeight + 2;