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).
This commit is contained in:
parent
e00d705a32
commit
8f2d4cff7b
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ int UIBalloonOpenBtn::SendMsg(UIWindow* sender, int message, std::intptr_t argum
|
|||
this->m_balloon->m_fontMode = static_cast<std::int8_t>(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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue