Decompile fn_20400 (CConnection::UpdateStatus)

Batch #16084 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_20400 CConnection::UpdateStatus: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-10 13:44:38 +00:00
commit a8cf557b2d

View file

@ -199,7 +199,11 @@ bool CConnection::Update() {
// FUNCTION: fn_20400
void CConnection::UpdateStatus() {
if (this->m_socket != INVALID_SOCKET) {
this->m_status = !this->Receive() || !this->Flush();
if (this->Receive() && this->Flush()) {
this->m_status = 0;
} else {
this->m_status = 1;
}
}
}