Changeset 9270 in orxonox.OLD for branches/proxy/src/lib/network/handshake.cc
- Timestamp:
- Jul 13, 2006, 2:13:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/handshake.cc
r9269 r9270 25 25 26 26 27 Handshake::Handshake( bool server, int clientId, int networkGameManagerId, int messageManagerId )27 Handshake::Handshake( int nodeType, int clientId, int networkGameManagerId, int messageManagerId ) 28 28 : Synchronizeable() 29 29 { … … 31 31 this->setClassID(CL_HANDSHAKE, "Handshake"); 32 32 33 this->setIsServer( server);33 this->setIsServer( nodeType == NET_MASTER_SERVER); 34 34 35 35 // register all variable handlers … … 58 58 localState.orxId = _ORXONOX_ID; 59 59 localState.version = _ORXONOX_VERSION; 60 localState.nodeType = NET_CLIENT;60 localState.nodeType = nodeType; 61 61 localState.canDel = 0; 62 62
Note: See TracChangeset
for help on using the changeset viewer.