Changeset 9908 in orxonox.OLD for branches/network/src/lib/network/network_stream.cc
- Timestamp:
- Oct 29, 2006, 11:41:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r9907 r9908 966 966 967 967 // if handshake not finished only sync handshake 968 if ( peer->second.handshake && Handshake::staticClassID() != sync.get LeafClassID())968 if ( peer->second.handshake && Handshake::staticClassID() != sync.getClassID() ) 969 969 continue; 970 970 … … 972 972 if ( ( SharedNetworkData::getInstance()->isMasterServer() || 973 973 SharedNetworkData::getInstance()->isProxyServerActive() && peer->second.isClient()) 974 && Handshake::staticClassID() == sync.get LeafClassID() && sync.getUniqueID() != peer->second.userId )974 && Handshake::staticClassID() == sync.getClassID() && sync.getUniqueID() != peer->second.userId ) 975 975 continue; 976 976 977 977 /* list of synchronizeables that will never be synchronized over the network: */ 978 978 // do not sync null parent 979 if ( NullParent::staticClassID() == sync.get LeafClassID())979 if ( NullParent::staticClassID() == sync.getClassID()) 980 980 continue; 981 981 982 982 983 assert( sync.get LeafClassID() != 0);983 assert( sync.getClassID() != 0); 984 984 985 985 assert( offset + INTSIZE <= UDP_PACKET_SIZE );
Note: See TracChangeset
for help on using the changeset viewer.