Changeset 9869 in orxonox.OLD for trunk/src/lib/network/synchronizeable.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/synchronizeable.cc
r9656 r9869 32 32 33 33 34 ObjectListDefinition(Synchronizeable); 34 35 35 36 /** … … 38 39 Synchronizeable::Synchronizeable() 39 40 { 40 this-> setClassID(CL_SYNCHRONIZEABLE, "Synchronizeable");41 this->registerObject(this, Synchronizeable::_objectList); 41 42 this->owner = 0; 42 43 // this->setIsServer(SharedNetworkData::getInstance()->getHostID() == 0); … … 74 75 // remove the message manager only by the server 75 76 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() ) ) 77 78 NetworkGameManager::getInstance()->removeSynchronizeable( this->getUniqueID() ); 78 79 }
Note: See TracChangeset
for help on using the changeset viewer.