Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2006, 1:12:57 AM (18 years ago)
Author:
patrick
Message:

other unique id offset

File:
1 edited

Legend:

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

    r9371 r9374  
    404404      it->second.socket = NULL;
    405405
     406      // remove the old connectin monitor
    406407      if ( it->second.connectionMonitor )
    407408        delete it->second.connectionMonitor;
    408409      it->second.connectionMonitor = NULL;
    409410
     411      // remove the handshake
    410412      if ( it->second.handshake )
    411413        delete it->second.handshake;
    412414      it->second.handshake = NULL;
    413415
     416      // and cleanup the user infos
    414417      for ( SynchronizeableList::iterator it2 = synchronizeables.begin(); it2 != synchronizeables.end(); it2++ )
    415418      {
     
    488491          if ( !it->second.handshake->allowDel() )
    489492          {
     493
    490494            if ( this->pInfo->nodeType == NET_CLIENT )
    491495            {
     496
    492497              SharedNetworkData::getInstance()->setHostID( it->second.handshake->getHostId() );
    493498              this->pInfo->userId = SharedNetworkData::getInstance()->getHostID();
     
    515520
    516521            PRINT(0)("handshake finished id=%d\n", it->second.handshake->getNetworkGameManagerId());
    517 
    518522            it->second.handshake->del();
    519523          }
Note: See TracChangeset for help on using the changeset viewer.