Changeset 6220 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Dec 21, 2005, 1:43:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r6214 r6220 180 180 NetworkManager::getInstance()->setHostID( handshakes[i]->getHostId() ); 181 181 myHostId = NetworkManager::getInstance()->getHostID(); 182 183 this->networkGameManager = new NetworkGameManager(); 184 this->networkGameManager->setUniqueID( handshakes[i]->getNetworkGameManagerId() ); 185 this->connectSynchronizeable( *(this->networkGameManager) ); 186 } 187 else 188 { 189 this->networkGameManager->sendEntityList( i ); 182 190 } 183 191 PRINT(0)("handshake finished\n"); 184 192 185 this->networkGameManager = new NetworkGameManager();186 this->networkGameManager->setUniqueID( handshakes[i]->getNetworkGameManagerId() );187 this->connectSynchronizeable( *(this->networkGameManager) );188 193 189 194 delete handshakes[i];
Note: See TracChangeset
for help on using the changeset viewer.