Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 23, 2006, 3:50:35 PM (18 years ago)
Author:
patrick
Message:

network: dont get the sync process to run again.

File:
1 edited

Legend:

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

    r6660 r6661  
    126126  // and one for handshake to reject client maxCon+1
    127127  this->networkGameManager->setUniqueID( this->maxConnections + 2 );
    128   this->connectSynchronizeable( *(this->networkGameManager) );
     128  //this->connectSynchronizeable( *(this->networkGameManager) );
    129129  this->setMaxConnections( 10 );
    130130}
     
    199199            this->networkGameManager = NetworkGameManager::getInstance();
    200200            this->networkGameManager->setUniqueID( handshakes[i]->getNetworkGameManagerId() );
    201             this->connectSynchronizeable( *(this->networkGameManager) );
     201            //this->connectSynchronizeable( *(this->networkGameManager) );
    202202          }
    203203          else
     
    369369    PRINTF(0)("New Client: %d\n", clientId);
    370370
    371     this->connectSynchronizeable(*handshakes[clientId]);
     371    //this->connectSynchronizeable(*handshakes[clientId]);
    372372  }
    373373
     
    439439  for (SynchronizeableList::iterator it = synchronizeables.begin(); it!=synchronizeables.end(); it++)
    440440  {
    441     if( (*it)->beSynchronized() == true)
     441    //if( (*it)->beSynchronized() == true)
    442442      PRINT(0)("  Synchronizeable of class: %s::%s, with unique ID: %i, Synchronize: %i\n", (*it)->getClassName(), (*it)->getName(),
    443443               (*it)->getUniqueID(), (*it)->beSynchronized());
Note: See TracChangeset for help on using the changeset viewer.