Decompile fn_09821 (UIMacroDetectorWnd::SendMsg)
Batch #13431 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_09821 UIMacroDetectorWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: eAthena, Tanke 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
fcb2e0fe02
commit
dc4095d532
1 changed files with 1 additions and 2 deletions
|
|
@ -111,8 +111,7 @@ int UIMacroDetectorWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a,
|
|||
CaptchaAnswerPacket packet;
|
||||
packet.id = 0xA5C;
|
||||
memcpy_s(packet.text, sizeof(packet.text), this->m_editCtrl->Text(), sizeof(packet.text));
|
||||
CRagConnection& connection = GetRagConnection();
|
||||
connection.Send(g_packetLengths.FixedLength(packet.id), &packet);
|
||||
GetRagConnection().Send(reinterpret_cast<PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
|
||||
this->m_lastAnswer = this->m_editCtrl->Text();
|
||||
g_serverLanguage->ResetInput();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue