From 9de843cbaca4813b2eed0efe7b79644657e47222 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 21:05:30 +0000 Subject: [PATCH] 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). --- Source/Client/Mode/GameModePackets.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Client/Mode/GameModePackets.cpp b/Source/Client/Mode/GameModePackets.cpp index bac343b7c..09df1a7a4 100644 --- a/Source/Client/Mode/GameModePackets.cpp +++ b/Source/Client/Mode/GameModePackets.cpp @@ -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(message.c_str()), 0xFFFF, 2, reinterpret_cast(copied.c_str()), 0); - } else { - --g_pendingWhisperCount; } if (g_session.m_whisperRecord != 0) { this->WriteChatLog(message.c_str());