diff options
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r-- | src/core/netclient.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/netclient.h b/src/core/netclient.h index 879a801..6e5bcf9 100644 --- a/src/core/netclient.h +++ b/src/core/netclient.h @@ -29,7 +29,12 @@ #include <deque> #include <map> -#include "core/player.h" +namespace core +{ +class NetClient; +} + +#include "core/netplayer.h" namespace core { @@ -82,8 +87,9 @@ private: struct sockaddr_in client_addr; std::string client_host; int client_port; - Player client_player; bool client_error; + + NetPlayer *client_player; std::string messageblock; std::deque<std::string> recvq; |