Decompile fn_20389 (CConnection::Connect)
Batch #17032 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_20389 CConnection::Connect: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, br4yan 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
d44e82617c
commit
803f92d03c
1 changed files with 1 additions and 8 deletions
|
|
@ -66,14 +66,7 @@ namespace {
|
|||
// OFFSET: 0x00C7C4D0
|
||||
// FUNCTION: fn_20389
|
||||
bool CConnection::Connect(const ConnectionEndpoint& endpoint) {
|
||||
this->m_deferred = 0;
|
||||
|
||||
while (this->m_pending.GetSize() != 0) {
|
||||
const int bytes = this->m_pending.GetSize();
|
||||
this->m_output.InsertData(bytes, this->m_pending.Data());
|
||||
this->m_pending.RemoveData(bytes);
|
||||
this->Flush();
|
||||
}
|
||||
this->SetBlock(0);
|
||||
|
||||
this->m_input.Init(0xA000);
|
||||
this->m_output.Init(0xA000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue