Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6866 in orxonox.OLD


Ignore:
Timestamp:
Jan 30, 2006, 3:58:41 PM (18 years ago)
Author:
rennerc
Message:

SpaceShip: other clients should move now

Location:
branches/network/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/playable.cc

    r6861 r6866  
    4040
    4141  this->bFire = false;
     42  this->oldFlags = 0;
    4243
    4344  this->setSynchronized(true);
  • branches/network/src/world_entities/space_ships/space_ship.cc

    r6861 r6866  
    639639  *reciever = 0;
    640640 
    641   if ( this->getOwner() == this->getHostID() && PNode::needsReadSync() )
     641  if ( ( this->getHostID()==0 || this->getOwner() == this->getHostID() ) && PNode::needsReadSync() )
    642642  {
    643643    SYNCHELP_WRITE_BYTE( DATA_sync, NWT_SS_B );
     
    645645  }
    646646
    647   if ( this->getHostID()==this->getOwner() )
     647  if ( this->getHostID()==0 || this->getHostID()==this->getOwner() )
    648648  {
    649649    byte mask = 0;
Note: See TracChangeset for help on using the changeset viewer.