diff options
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index a4b42d0d8..88f6128c7 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -939,14 +939,14 @@ static bool NetworkReceive() cs->writable = !!FD_ISSET(cs->sock, &write_fd); if (FD_ISSET(cs->sock, &read_fd)) { if (_network_server) { - NetworkServer_ReadPackets(cs); + cs->Recv_Packets(); } else { NetworkRecvStatus res; /* The client already was quiting! */ if (cs->HasClientQuit()) return false; - res = NetworkClient_ReadPackets(cs); + res = cs->Recv_Packets(); if (res != NETWORK_RECV_STATUS_OKAY) { /* The client made an error of which we can not recover * close the client and drop back to main menu */ |