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:
parent
690335b05f
commit
9de843cbac
1 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue