Decompile fn_07733 (UIMiniPartyInfoWnd::Slot28)
Batch #10983 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_07733 UIMiniPartyInfoWnd::Slot28: logic confirmed by peer review Peer-reviewed-by: Yommy, StrawberrysherbetIX 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
7c091d6129
commit
d546402598
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ void UIMiniPartyInfoWnd::Slot28(int, int) {
|
|||
char text[256];
|
||||
std::memset(text, 0, sizeof(text));
|
||||
std::string fitted;
|
||||
const std::string mapName = g_mapInfoMgr->GetDisplayName(std::string(this->m_owner->GetMember().map.c_str()));
|
||||
const std::string mapName = g_session.GetMapDisplayName(this->m_owner->GetMember().map.c_str());
|
||||
if (this->m_owner->m_sizeMode == 1) {
|
||||
std::sprintf(text, "%s", this->m_owner->GetMember().name.c_str());
|
||||
fitted = this->FitDisplayText(static_cast<int>(static_cast<float>(this->geometry.width) * 0.532f), text, 0, 12, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue