Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7684 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
May 18, 2006, 3:02:24 PM (19 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

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

    r7681 r7684  
    133133  // setUniqueID( maxCon+2 ) because we need one id for every handshake
    134134  // and one for handshake to reject client maxCon+1
    135   this->networkGameManager->setUniqueID( MAX_CONNECTIONS + 2 );
     135  this->networkGameManager->setUniqueID( SharedNetworkData::getInstance()->getNewUniqueID() );
    136136  MessageManager::getInstance()->setUniqueID( SharedNetworkData::getInstance()->getNewUniqueID() );
    137137}
Note: See TracChangeset for help on using the changeset viewer.