Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9545 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.cc


Ignore:
Timestamp:
Jul 28, 2006, 11:12:32 AM (18 years ago)
Author:
patrick
Message:

initializing the default values in a better way to prevent missunderstandings

File:
1 edited

Legend:

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

    r9494 r9545  
    4242void PeerInfo::clear()
    4343{
    44   this->userId = 0;
    45   this->nodeType = NET_CLIENT;
     44  this->userId = NET_ID_UNASSIGNED;
     45  this->nodeType = NET_UNASSIGNED;
    4646  this->socket = NULL;
    4747  this->handshake = NULL;
Note: See TracChangeset for help on using the changeset viewer.