Decompile fn_09597 (UINewSelectCharWnd::UpdateSlotButtons)
Batch #14737 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_09597 UINewSelectCharWnd::UpdateSlotButtons: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, 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
248b618fda
commit
42faaa34e8
1 changed files with 2 additions and 6 deletions
|
|
@ -1148,12 +1148,8 @@ void UINewSelectCharWnd::UpdateSlotButtons() {
|
|||
}
|
||||
|
||||
static_cast<UISlotBmpButton*>(this->m_slotButtons2[index])->SetSlot(this->m_slotStatus[slot] ? -1 : slot, slot);
|
||||
if (slot < g_session.m_producibleSlotCount && this->m_slotStatus[slot] == 1) {
|
||||
if (slot < g_session.m_validSlotCount) {
|
||||
this->m_slotButtons2[index]->SendMsg(nullptr, 431, 0, 0, 0, 0);
|
||||
} else {
|
||||
this->m_slotButtons2[index]->SendMsg(nullptr, 431, 1, 0, 0, 0);
|
||||
}
|
||||
if (slot < g_session.m_producibleSlotCount && this->m_slotStatus[slot] == 1 && slot < g_session.m_validSlotCount) {
|
||||
this->m_slotButtons2[index]->SendMsg(nullptr, 431, 0, 0, 0, 0);
|
||||
} else {
|
||||
this->m_slotButtons2[index]->SendMsg(nullptr, 431, 1, 0, 0, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue