Changeset 9384 in orxonox.OLD for branches/proxy/src/lib/network/shared_network_data.h
- Timestamp:
- Jul 21, 2006, 12:51:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/shared_network_data.h
r9347 r9384 11 11 #include "proxy/proxy_settings.h" 12 12 13 //!< maximal connectinons for the server 14 #define NET_MAX_CONNECTIONS 100 13 15 14 16 class NetworkStream; … … 38 40 39 41 /** @returns the maximum number of players for this server */ 40 inline int getMaxPlayer() { return ProxySettings::getInstance()->getMaxPlayer(); }42 inline int getMaxPlayer() { return /*ProxySettings::getInstance()->getMaxPlayer()*/NET_MAX_CONNECTIONS; } 41 43 42 44 /** @returns the hostID of the node */
Note: See TracChangeset
for help on using the changeset viewer.