Decompile fn_21584 (CGameMode::ReceiveWhisperResult)

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

- fn_21584 CGameMode::ReceiveWhisperResult: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, kyoshi
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 21:05:30 +00:00
commit 9de843cbac

View file

@ -1889,11 +1889,11 @@ void CGameMode::ReceiveWhisperResult(unsigned char kind, int argument) {
message += ") : " + this->lastWhisper;
}
if (g_pendingWhisperCount <= 0) {
if (g_pendingWhisperCount > 0) {
--g_pendingWhisperCount;
} else {
g_windowMgr.SendNotice(UIM_OPENCHATWND, 0, 0, 0, 0, 0);
g_windowMgr.SendNotice(UIM_PUSHINTOCHATHISTORY, reinterpret_cast<std::intptr_t>(message.c_str()), 0xFFFF, 2, reinterpret_cast<std::intptr_t>(copied.c_str()), 0);
} else {
--g_pendingWhisperCount;
}
if (g_session.m_whisperRecord != 0) {
this->WriteChatLog(message.c_str());