Decompile fn_17270 (UIWindowMgr::RearrangeMiniPartyWindows)
Batch #11711 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_17270 UIWindowMgr::RearrangeMiniPartyWindows: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev 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
ef68cf0fb5
commit
a69dd90a67
1 changed files with 4 additions and 4 deletions
|
|
@ -62,11 +62,11 @@ void UIWindowMgr::RearrangeMiniPartyWindows() {
|
|||
for (; cell != cells.end() && entry != this->snapExcluded.end(); ++cell, ++entry) {
|
||||
MiniPartyGridPoint position;
|
||||
reinterpret_cast<const MiniPartyGrid*>(&area)->GetWindowPosition(&position, *cell);
|
||||
UIMiniPartyWnd* window = static_cast<UIMiniPartyWnd*>(*entry);
|
||||
window->Move(position.x, position.y);
|
||||
window->m_cell = *cell;
|
||||
(*entry)->Move(position.x, position.y);
|
||||
static_cast<UIMiniPartyWnd*>(*entry)->m_cell = *cell;
|
||||
|
||||
const int index = *cell;
|
||||
const MessengerMember member = window->m_member;
|
||||
const MessengerMember member = static_cast<UIMiniPartyWnd*>(*entry)->m_member;
|
||||
g_session.SetRecord0734Value(member.accountId, index);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue