Changeset 1748 for code/branches/network/src/orxonox/objects/SpaceShip.cc
- Timestamp:
- Sep 9, 2008, 11:23:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/SpaceShip.cc
r1742 r1748 166 166 if(network::Host::running()) 167 167 COUT(3) << "this id: " << this->objectID << " myShipID: " << network::Host::getShipID() << std::endl; 168 if(network::Host::running() && objectID == network::Host::getShipID()) 168 if(network::Host::running() && objectID == network::Host::getShipID()){ 169 setObjectMode(0x3); 169 170 myShip_=true; 171 } 170 172 else 171 173 this->setRadarObjectColour(this->getProjectileColour()); … … 360 362 if(myShip_){ 361 363 COUT(3) << "requesting focus for camera" << std::endl; 362 this->setBacksync(true);363 364 //CameraHandler::getInstance()->requestFocus(cam_); 364 365 if(this->isExactlyA(Class(SpaceShip))){ … … 466 467 } 467 468 468 projectile->set Backsync(true);469 projectile->setObjectMode(0x3); 469 470 this->timeToReload_ = this->reloadTime_; 470 471 }
Note: See TracChangeset
for help on using the changeset viewer.