Decompile 4 functions in Source/UI/Chat/UISubChatHisWnd.cpp, Source/UI/Guild/UIAgitWnd.cpp, ...

Batch #18234 by eAthena: 1 byte-identical, 3 confirmed by peer review.

- fn_12655 UISubChatHisWnd::OnCreate: byte-identical
- fn_13136 UIListBoxAgitMenu::SendMsg: logic confirmed by peer review
- fn_09297 UIRequestJoinPartyMgr::Advance: logic confirmed by peer review
- fn_10017 UIRodexContentsWnd::GetItemAtPoint: logic confirmed by peer review

Peer-reviewed-by: Yommy, alisonrag, br4yan, ragnarok-clanker, bibinir
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-12 11:48:21 +00:00
commit a16afbf55e
4 changed files with 15 additions and 14 deletions

View file

@ -94,7 +94,7 @@ void UIRequestJoinPartyMgr::Advance() {
}
PartyJoinRequest request = *first;
if (std::find(this->m_blocked.begin(), this->m_blocked.end(), request.accountId) != this->m_blocked.end()) {
if (std::find_if(this->m_blocked.begin(), this->m_blocked.end(), [&](int accountId) { return request.accountId == accountId; }) != this->m_blocked.end()) {
this->m_pending.pop_front();
this->Advance();
return;