Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9271 in orxonox.OLD


Ignore:
Timestamp:
Jul 13, 2006, 2:49:49 PM (18 years ago)
Author:
patrick
Message:

node type now saved

File:
1 edited

Legend:

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

    r9270 r9271  
    442442              myHostId = SharedNetworkData::getInstance()->getHostID();
    443443
    444               PRINTF(0)("remote host is a %i\n", it->second.handshake->getRemoteNodeType());
     444//               PRINTF(0)("remote host is a %i\n", it->second.handshake->getRemoteNodeType());
     445              it->second.nodeType = it->second.handshake->getRemoteNodeType();
    445446
    446447              this->networkGameManager = NetworkGameManager::getInstance();
     
    461462              if ( this->nodeType == NET_MASTER_SERVER )
    462463              {
     464                it->second.nodeType = it->second.handshake->getRemoteNodeType();
     465
    463466                handleNewClient( it->second.userId );
    464467
Note: See TracChangeset for help on using the changeset viewer.