Changeset 9283 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 14, 2006, 12:20:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9282 r9283 40 40 this->networkStream = networkStream; 41 41 this->playerNumber = 0; 42 this->localNode = new NetworkNode(); 43 42 44 this->setSynchronized(false); 43 45 } … … 48 50 */ 49 51 NetworkMonitor::~NetworkMonitor() 50 {} 52 { 53 if( this->localNode) 54 delete this->localNode; 55 } 51 56 52 57 … … 80 85 81 86 87 /** 88 * adds a network node to the local node 89 * @param pInfo node information 90 */ 82 91 void NetworkMonitor::addNode(PeerInfo* pInfo) 83 92 { 84 return; 93 if( this->localNode == NULL) 94 return; 85 95 86 96 if( pInfo->isClient())
Note: See TracChangeset
for help on using the changeset viewer.