Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6719 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 25, 2006, 5:07:43 PM (19 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/space_ships/space_ship.cc

    r6718 r6719  
    546546
    547547    //TODO: do not recieve data if you are the owner
    548     if ( b == DATA_flags /*&& this->getHostID()!=this->getOwner()*/ )
     548    if ( false && b == DATA_flags /*&& this->getHostID()!=this->getOwner()*/ )
    549549    {
    550550      int flags = 0;
     
    564564
    565565    //TODO: do not recieve data if you are the owner
    566     if ( b == DATA_mouse /*&& this->getHostID()!=this->getOwner()*/ )
     566    if ( false && b == DATA_mouse /*&& this->getHostID()!=this->getOwner()*/ )
    567567    {
    568568      SYNCHELP_READ_FLOAT( mouseDir.w );
     
    581581}*/
    582582
    583   //if ( this->getOwner() != this->getHostID() )
    584   //  SYNCHELP_READ_FKT( PNode::writeSync );
     583  if ( this->getOwner() != this->getHostID() )
     584    SYNCHELP_READ_FKT( PNode::writeSync );
    585585
    586586  return SYNCHELP_READ_N;
     
    668668
    669669
    670   //if ( this->getOwner() == this->getHostID() )
    671   //  SYNCHELP_WRITE_FKT( PNode::readSync );
     670  if ( this->getOwner() == this->getHostID() )
     671    SYNCHELP_WRITE_FKT( PNode::readSync );
    672672
    673673  return SYNCHELP_WRITE_N;
Note: See TracChangeset for help on using the changeset viewer.