Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6685 in orxonox.OLD for branches/network/src/orxonox.cc


Ignore:
Timestamp:
Jan 25, 2006, 1:35:29 AM (18 years ago)
Author:
patrick
Message:

network: some more degbug ability for pnode, started work on water synchronization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/orxonox.cc

    r6683 r6685  
    279279  if( this->serverName != NULL) // we are a client
    280280  {
     281    State::setOnline(true);
    281282    NetworkManager::getInstance()->establishConnection(this->serverName, port);
     283  }
     284  else if( this->port > 0) {    // we are a server
    282285    State::setOnline(true);
    283   }
    284   else if( this->port > 0) {    // we are a server
    285286    NetworkManager::getInstance()->createServer(port);
    286     State::setOnline(true);
    287287  }
    288288  return 0;
Note: See TracChangeset for help on using the changeset viewer.