diff options
author | rubidium <rubidium@openttd.org> | 2007-01-12 20:19:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-12 20:19:49 +0000 |
commit | 98e462e56444155a11fe92b9391c2faf1aea90d2 (patch) | |
tree | 23bff1b129004614fd68cb0c30436a14bbe240e9 /src/network/network_client.cpp | |
parent | 473ed1d351e04b8f000325219bf80f54bd96b7f1 (diff) | |
download | openttd-98e462e56444155a11fe92b9391c2faf1aea90d2.tar.xz |
(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
Diffstat (limited to 'src/network/network_client.cpp')
-rw-r--r-- | src/network/network_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 9e9b5969c..47bb952f2 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -796,7 +796,7 @@ void NetworkClient_Connected(void) } // Reads the packets from the socket-stream, if available -NetworkRecvStatus NetworkClient_ReadPackets(NetworkClientState *cs) +NetworkRecvStatus NetworkClient_ReadPackets(NetworkTCPSocketHandler *cs) { Packet *p; NetworkRecvStatus res = NETWORK_RECV_STATUS_OKAY; |