Changeset 9901 in orxonox.OLD for branches/network/src/lib/network/synchronizeable.cc
- Timestamp:
- Oct 26, 2006, 5:54:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.cc
r9869 r9901 56 56 /* make sure loadClassId is first synced var because this is read by networkStream */ 57 57 assert( syncVarList.size() == 0 ); 58 mLeafClassId = this->registerVarId( new SynchronizeableInt( (int*)&this->getLeafClassID(), (int*)&this->getLeafClassID(), "leafClassId", PERMISSION_MASTER_SERVER) ); 58 assert( this->getClassID() == this->objectList().id() ); 59 mLeafClassId = this->registerVarId( new SynchronizeableInt( (int*)&leafClassID, (int*)&leafClassID, "leafClassId", PERMISSION_MASTER_SERVER) ); 59 60 60 61 this->registerVar( new SynchronizeableInt( &this->owner, &this->owner, "owner", PERMISSION_MASTER_SERVER ) );
Note: See TracChangeset
for help on using the changeset viewer.