Changeset 9374 in orxonox.OLD for branches/proxy/src/lib/network/shared_network_data.cc
- Timestamp:
- Jul 21, 2006, 1:12:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/shared_network_data.cc
r9357 r9374 18 18 #include "shared_network_data.h" 19 19 #include "netdefs.h" 20 #include "state.h" 20 21 21 22 … … 35 36 this->hostID = -1; 36 37 this->defaultSyncStream = NULL; 37 this->newUniqueID = NET_MAX_CONNECTIONS + 2; 38 39 if(State::isOnline()) 40 this->newUniqueID = ProxySettings::getInstance()->getMaxPlayer() + 2; 41 else 42 this->newUniqueID = NET_MAX_CONNECTIONS + 2; 38 43 this->nodeType = NET_CLIENT; 39 44 }
Note: See TracChangeset
for help on using the changeset viewer.