Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2005, 4:29:15 PM (18 years ago)
Author:
patrick
Message:

network: network game manager now sounds good

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/synchronizeable.cc

    r6190 r6250  
    2828Synchronizeable::Synchronizeable()
    2929{
    30 
     30  this->setClassID(CL_SYNCHRONIZEABLE, "Synchronizeable");
    3131  owner = 0;
    3232  hostID = NetworkManager::getInstance()->getHostID();
     33  this->setIsServer(this->hostID == 0);
     34  PRINTF(0)("sync created,id %i\n", this->hostID);
    3335  uniqueID = -1;
    3436  this->networkStream = NULL;
     
    3739}
    3840
    39 /**
    40  *  default constructor
    41  */
    42 Synchronizeable::Synchronizeable(const char* name)
    43 {
    44   this->setName(name);
    45   this->networkStream = NULL;
    46 }
    4741
    4842
Note: See TracChangeset for help on using the changeset viewer.