Changeset 9512 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 27, 2006, 4:07:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/message_manager.cc
r9511 r9512 328 328 { 329 329 330 330 // relay server special handling 331 331 if( SharedNetworkData::getInstance()->isMasterServer() && SharedNetworkData::getInstance()->isUserProxyServerActive(it->first)) 332 { 333 NetworkMessage msg; 334 335 msg.data = new byte[dataLength]; 336 memcpy( msg.data, data, dataLength ); 337 msg.length = dataLength; 338 msg.messageType = messageType; 339 msg.number = this->newNumber++; 340 msg.priority = messagePriority; 341 342 it->second.messages.push_back( msg ); 343 } 344 // proxy server to master server 345 else if( SharedNetworkData::getInstance()->isProxyServerActive() && SharedNetworkData::getInstance()->isUserMasterServer(it->first)) 332 346 { 333 347 NetworkMessage msg;
Note: See TracChangeset
for help on using the changeset viewer.