Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2006, 11:41:56 AM (19 years ago)
Author:
rennerc
Message:

BaseObject: removed LeafClassID since it is not used any more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_stream.cc

    r9907 r9908  
    966966
    967967      // if handshake not finished only sync handshake
    968       if ( peer->second.handshake && Handshake::staticClassID() != sync.getLeafClassID())
     968      if ( peer->second.handshake && Handshake::staticClassID() != sync.getClassID() )
    969969        continue;
    970970
     
    972972      if ( ( SharedNetworkData::getInstance()->isMasterServer() ||
    973973             SharedNetworkData::getInstance()->isProxyServerActive() &&  peer->second.isClient())
    974              && Handshake::staticClassID() == sync.getLeafClassID() && sync.getUniqueID() != peer->second.userId )
     974             && Handshake::staticClassID() == sync.getClassID() && sync.getUniqueID() != peer->second.userId )
    975975        continue;
    976976
    977977      /* list of synchronizeables that will never be synchronized over the network: */
    978978      // do not sync null parent
    979       if ( NullParent::staticClassID() == sync.getLeafClassID())
     979      if ( NullParent::staticClassID() == sync.getClassID())
    980980        continue;
    981981
    982982
    983       assert( sync.getLeafClassID() != 0);
     983      assert( sync.getClassID() != 0);
    984984
    985985      assert( offset + INTSIZE <= UDP_PACKET_SIZE );
Note: See TracChangeset for help on using the changeset viewer.