- Timestamp:
- Jan 25, 2006, 5:07:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/space_ships/space_ship.cc
r6718 r6719 546 546 547 547 //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()*/ ) 549 549 { 550 550 int flags = 0; … … 564 564 565 565 //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()*/ ) 567 567 { 568 568 SYNCHELP_READ_FLOAT( mouseDir.w ); … … 581 581 }*/ 582 582 583 //if ( this->getOwner() != this->getHostID() )584 //SYNCHELP_READ_FKT( PNode::writeSync );583 if ( this->getOwner() != this->getHostID() ) 584 SYNCHELP_READ_FKT( PNode::writeSync ); 585 585 586 586 return SYNCHELP_READ_N; … … 668 668 669 669 670 //if ( this->getOwner() == this->getHostID() )671 //SYNCHELP_WRITE_FKT( PNode::readSync );670 if ( this->getOwner() == this->getHostID() ) 671 SYNCHELP_WRITE_FKT( PNode::readSync ); 672 672 673 673 return SYNCHELP_WRITE_N;
Note: See TracChangeset
for help on using the changeset viewer.