mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Fix some protocol errors (there are more)
This commit is contained in:
parent
ee7843b80f
commit
a9fffcce87
@ -1153,9 +1153,9 @@ bool Network::SelectPeer(const char *hostname, uint16_t port, uint32_t server_id
|
||||
network_connection_error_t Network::WaitForPeerSelection()
|
||||
{
|
||||
if (this->peer_selected == 1)
|
||||
return AGAIN_ERROR;
|
||||
return OK;
|
||||
|
||||
return OK;
|
||||
return AGAIN_ERROR;
|
||||
}
|
||||
|
||||
bool Network::WaitForPeerReply()
|
||||
@ -1182,7 +1182,7 @@ bool Network::ConnectToPeer()
|
||||
bool out;
|
||||
|
||||
this->AddNetworkUpdate(ud);
|
||||
out = this->SendServerUpdate();
|
||||
out = this->SendPeerUpdate();
|
||||
this->ResetNetworkUpdate();
|
||||
|
||||
return out;
|
||||
|
Loading…
Reference in New Issue
Block a user