summaryrefslogtreecommitdiff
path: root/src/net/ea/network.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-08 14:48:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-08 14:48:08 +0300
commitcda421c4c58e32f88d87641e0195a55a8f212757 (patch)
tree0ed67b9949b994ad3b3bf50dfcb88a120a8a042f /src/net/ea/network.h
parentefa3bc8c346aea723b8b02ea1f27d7d3e41ff134 (diff)
downloadmv-cda421c4c58e32f88d87641e0195a55a8f212757.tar.gz
mv-cda421c4c58e32f88d87641e0195a55a8f212757.tar.bz2
mv-cda421c4c58e32f88d87641e0195a55a8f212757.tar.xz
mv-cda421c4c58e32f88d87641e0195a55a8f212757.zip
move direct SDL_net calls to proxy file sdltcpnet.
Diffstat (limited to 'src/net/ea/network.h')
-rw-r--r--src/net/ea/network.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 83e1abe36..ea56848ee 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -28,7 +28,8 @@
#include "net/messagein.h"
#include "net/messageout.h"
-#include <SDL_net.h>
+#include "net/sdltcpnet.h"
+
#include <SDL_thread.h>
#include <map>
@@ -92,7 +93,7 @@ class Network
void receive();
- TCPsocket mSocket;
+ TcpNet::Socket mSocket;
ServerInfo mServer;