Changeset 9406 in orxonox.OLD for trunk/src/lib/network/shared_network_data.cc
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/shared_network_data.cc
r9110 r9406 18 18 #include "shared_network_data.h" 19 19 #include "netdefs.h" 20 #include "state.h" 20 21 22 #include "debug.h" 21 23 22 using namespace std;23 24 24 25 … … 33 34 this->setClassID(CL_SHARED_NETWORK_DATA, "SharedNetworkData"); 34 35 36 this->nodeType = NET_CLIENT; 35 37 this->hostID = -1; 36 38 this->defaultSyncStream = NULL; 37 this->newUniqueID = MAX_CONNECTIONS + 2; 38 this->bGameServer = false; 39 40 // setUniqueID( maxCon+2 ) because we need one id for every handshake 41 // and one for handshake to reject client maxCon+1 42 this->newUniqueID = 2; 39 43 } 40 44
Note: See TracChangeset
for help on using the changeset viewer.