Changeset 11170 for code/branches/sagerjFS16/src/orxonox/worldentities
- Timestamp:
- Apr 21, 2016, 3:33:48 PM (9 years ago)
- Location:
- code/branches/sagerjFS16/src/orxonox/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/orxonox/worldentities/ControllableEntity.cc
r11166 r11170 303 303 if(GameMode::isMaster()) 304 304 { 305 orxout() << "fire ce if " << firemode << endl;306 305 this->fired(firemode); 307 306 } 308 307 else 309 308 { 310 orxout() << "fire ce else " << firemode << endl;311 309 callMemberNetworkFunction(&ControllableEntity::fire, this->getObjectID(), 0, firemode); 312 310 } … … 317 315 if(GameMode::isMaster()) 318 316 { 319 orxout() << "release ce if " << firemode << endl;320 317 this->released(firemode); 321 318 } 322 319 else 323 320 { 324 orxout() << "release ce else " << firemode << endl;325 321 callMemberNetworkFunction(&ControllableEntity::fire, this->getObjectID(), 0, firemode); 326 322 } -
code/branches/sagerjFS16/src/orxonox/worldentities/pawns/Pawn.cc
r11166 r11170 430 430 void Pawn::fired(unsigned int firemode) 431 431 { 432 orxout() << "fired pawn " << firemode << endl;433 432 if (this->weaponSystem_) 434 433 this->weaponSystem_->fire(firemode); … … 437 436 void Pawn::released(unsigned int firemode) 438 437 { 439 orxout() << "released pawn " << firemode << endl;440 438 if (this->weaponSystem_) 441 439 this->weaponSystem_->release(firemode);
Note: See TracChangeset
for help on using the changeset viewer.