Changeset 9615 for code/branches/formationupdate/src/orxonox
- Timestamp:
- Apr 23, 2013, 1:42:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/formationupdate/src/orxonox/worldentities/pawns/Pawn.cc
r9614 r9615 325 325 } 326 326 } 327 orxout(user_warning) << "The HumanController has no slaves!" << endl; 327 328 return false; 328 329 } … … 359 360 * Doesn't work yet 360 361 * 361 * if(this->hasSlaves())362 */ if(this->hasSlaves()) 362 363 { 363 364 // start to control a slave 364 365 this->getPlayer()->startControl(this->getSlave()->getControllableEntity()); 365 }*/ 366 this->getPlayer()->stopControl(); 366 } 367 else{ 368 this->getPlayer()->stopControl(); 369 } 367 370 } 368 371 if (GameMode::isMaster())
Note: See TracChangeset
for help on using the changeset viewer.