Fix PONG sequence sent as separate packet causing mismatch

This commit is contained in:
savis
2025-12-28 16:57:24 +01:00
parent 387d7bf72d
commit fff15def3c
7 changed files with 15 additions and 15 deletions

View File

@@ -237,14 +237,12 @@ bool CGuildMarkDownloader::__LoginState_RecvPing()
TPacketCGPong kPacketPong;
kPacketPong.bHeader = HEADER_CG_PONG;
kPacketPong.bSequence = GetNextSequence();
if (!Send(sizeof(TPacketCGPong), &kPacketPong))
return false;
if (IsSecurityMode())
return SendSequence();
else
return true;
return true;
}
bool CGuildMarkDownloader::__LoginState_RecvPhase()