Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2006, 8:05:17 AM (18 years ago)
Author:
rennerc
Message:

fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_stream.cc

    r7578 r7591  
    142142  peers[0].handshake = hs;
    143143//   peers[0].handshake->setSynchronized( true );
    144   this->connectSynchronizeable(*hs);
     144  //this->connectSynchronizeable(*hs);
    145145  //this->connectSynchronizeable(*hs);
    146146  PRINTF(0)("NetworkStream: Handshake created: %s\n", hs->getName());
     
    508508    {
    509509      Synchronizeable & sync = **it;
    510 
     510     
    511511      if ( !sync.beSynchronized() || sync.getUniqueID() < 0 )
    512512        continue;
     
    515515      if ( peer->second.handshake && sync.getLeafClassID() != CL_HANDSHAKE )
    516516        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
    520521      assert( offset + INTSIZE <= UDP_PACKET_SIZE );
    521522     
     
    644645        }
    645646      }
    646      
    647647      offset += sync->setStateDiff( peer->second.userId, buf+offset, length-offset, state, fromState );
    648648    }
Note: See TracChangeset for help on using the changeset viewer.