Changeset 9757 in orxonox.OLD for branches/new_class_id/src/lib/network/network_stream.cc
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/network/network_stream.cc
r9716 r9757 967 967 968 968 // if handshake not finished only sync handshake 969 if ( peer->second.handshake && Handshake:: classID() != sync.getLeafClassID())969 if ( peer->second.handshake && Handshake::staticClassID() != sync.getLeafClassID()) 970 970 continue; 971 971 … … 973 973 if ( ( SharedNetworkData::getInstance()->isMasterServer() || 974 974 SharedNetworkData::getInstance()->isProxyServerActive() && peer->second.isClient()) 975 && Handshake:: classID() == sync.getLeafClassID() && sync.getUniqueID() != peer->second.userId )975 && Handshake::staticClassID() == sync.getLeafClassID() && sync.getUniqueID() != peer->second.userId ) 976 976 continue; 977 977 978 978 /* list of synchronizeables that will never be synchronized over the network: */ 979 979 // do not sync null parent 980 if ( NullParent:: classID() == sync.getLeafClassID())980 if ( NullParent::staticClassID() == sync.getLeafClassID()) 981 981 continue; 982 982 … … 1187 1187 /* These are some small exeptions in creation: Not all objects can/should be created via Factory */ 1188 1188 /* Exception 1: NullParent */ 1189 if( NullParent:: classID() == leafClassId || Synchronizeable::classID() == leafClassId || NetworkGameManager::classID() == leafClassId)1189 if( NullParent::staticClassID() == leafClassId || Synchronizeable::staticClassID() == leafClassId || NetworkGameManager::staticClassID() == leafClassId) 1190 1190 { 1191 1191 PRINTF(1)("Don't create Object with ID %x, ignored!\n", (int)leafClassId); … … 1203 1203 } 1204 1204 1205 if ( b->isA(Synchronizeable:: classID()) )1205 if ( b->isA(Synchronizeable::staticClassID()) ) 1206 1206 { 1207 1207 sync = dynamic_cast<Synchronizeable*>(b);
Note: See TracChangeset
for help on using the changeset viewer.