Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/network/synchronizeable.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

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

    r9656 r9869  
    3232
    3333
     34ObjectListDefinition(Synchronizeable);
    3435
    3536/**
     
    3839Synchronizeable::Synchronizeable()
    3940{
    40   this->setClassID(CL_SYNCHRONIZEABLE, "Synchronizeable");
     41  this->registerObject(this, Synchronizeable::_objectList);
    4142  this->owner = 0;
    4243//   this->setIsServer(SharedNetworkData::getInstance()->getHostID() == 0);
     
    7475    // remove the message manager only by the server
    7576    if ( (SharedNetworkData::getInstance()->isMasterServer() )
    76            && this->beSynchronized() && this->getUniqueID() > 0 && !this->isA( CL_MESSAGE_MANAGER ) )
     77          && this->beSynchronized() && this->getUniqueID() > 0 && !this->isA( MessageManager::staticClassID() ) )
    7778      NetworkGameManager::getInstance()->removeSynchronizeable( this->getUniqueID() );
    7879  }
Note: See TracChangeset for help on using the changeset viewer.