diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-21 19:06:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-21 19:06:15 +0000 |
commit | 8aa04fc836116a58f8ffd1e0c3539b9ea8a94ddf (patch) | |
tree | bb933edb3919ed67d05b098a6b97a73f01746762 /src/core/netserver.h | |
parent | 41ad1e4c9e2a70d0a8811f4b035f0d3018045e61 (diff) |
dedicated server, entity transfer
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r-- | src/core/netserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h index dd44285..4de87be 100644 --- a/src/core/netserver.h +++ b/src/core/netserver.h @@ -37,6 +37,7 @@ public: /// find the client corresponding to a player NetClient *find_client(Player const *player); + std::list<NetClient *> clients; protected: /// called by accept() when a new client connects virtual void client_connect(int const clientfd, std::string const host, int const port); @@ -47,7 +48,6 @@ protected: /// parse incoming client messages void parse_incoming_message(NetClient *client, const std::string & message); - std::list<NetClient *> clients; fd_set serverset; int fdmax; }; |