Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9283 in orxonox.OLD for branches/proxy/src/lib/network


Ignore:
Timestamp:
Jul 14, 2006, 12:20:22 AM (18 years ago)
Author:
patrick
Message:

some more safty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_monitor.cc

    r9282 r9283  
    4040  this->networkStream = networkStream;
    4141  this->playerNumber = 0;
     42  this->localNode = new NetworkNode();
     43
    4244  this->setSynchronized(false);
    4345}
     
    4850 */
    4951NetworkMonitor::~NetworkMonitor()
    50 {}
     52{
     53  if( this->localNode)
     54    delete this->localNode;
     55}
    5156
    5257
     
    8085
    8186
     87/**
     88 * adds a network node to the local node
     89 *  @param pInfo node information
     90 */
    8291void NetworkMonitor::addNode(PeerInfo* pInfo)
    8392{
    84   return;
     93  if( this->localNode == NULL)
     94    return;
    8595
    8696  if( pInfo->isClient())
Note: See TracChangeset for help on using the changeset viewer.