Decompile fn_12758 (UISelCharForUServerWnd::SendMsg)

Batch #15378 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_12758 UISelCharForUServerWnd::SendMsg: logic confirmed by peer review

Peer-reviewed-by: eAthena, gordaoprogramas, Toshiro
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-09 22:24:18 +00:00
commit 933ca4f5ac

View file

@ -163,9 +163,7 @@ int UISelCharForUServerWnd::SendMsg(UIWindow* sender, int message, std::intptr_t
packet.id = 0x28C;
packet.accountId = g_session.m_aid;
packet.count = count;
for (int index = 0; index < 9; ++index) {
packet.characterIds[index] = characterIds[index];
}
std::memcpy(packet.characterIds, characterIds, sizeof(packet.characterIds));
GetRagConnection().Send(reinterpret_cast<const PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
g_windowMgr.Schedule(this);
return 0;