Changeset 7591 in orxonox.OLD for branches/network/src/lib/network/network_stream.cc
- Timestamp:
- May 11, 2006, 8:05:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r7578 r7591 142 142 peers[0].handshake = hs; 143 143 // peers[0].handshake->setSynchronized( true ); 144 this->connectSynchronizeable(*hs);144 //this->connectSynchronizeable(*hs); 145 145 //this->connectSynchronizeable(*hs); 146 146 PRINTF(0)("NetworkStream: Handshake created: %s\n", hs->getName()); … … 508 508 { 509 509 Synchronizeable & sync = **it; 510 510 511 511 if ( !sync.beSynchronized() || sync.getUniqueID() < 0 ) 512 512 continue; … … 515 515 if ( peer->second.handshake && sync.getLeafClassID() != CL_HANDSHAKE ) 516 516 continue; 517 518 PRINTF(0)("syncing: id:%d name:%s\n", sync.getUniqueID(), sync.getClassName()); 519 517 518 if ( isServer() && sync.getLeafClassID() == CL_HANDSHAKE && sync.getUniqueID() != peer->second.userId ) 519 continue; 520 520 521 assert( offset + INTSIZE <= UDP_PACKET_SIZE ); 521 522 … … 644 645 } 645 646 } 646 647 647 offset += sync->setStateDiff( peer->second.userId, buf+offset, length-offset, state, fromState ); 648 648 }
Note: See TracChangeset
for help on using the changeset viewer.