- Timestamp:
- Nov 21, 2013, 6:37:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/ControllableEntity.cc
r9667 r9799 350 350 this->bHasLocalController_ = player->isLocalPlayer(); 351 351 this->bHasHumanController_ = player->isHumanPlayer(); 352 if(controller_ != NULL) 353 this->team_ = controller_->getTeam(); // forward controller team number 352 354 353 355 if (this->bHasLocalController_ && this->bHasHumanController_) … … 462 464 this->bHasLocalController_ = true; 463 465 this->xmlcontroller_->setControllableEntity(this); 466 this->team_ = this->xmlcontroller_->getTeam(); //forward the team number 464 467 } 465 468 else
Note: See TracChangeset
for help on using the changeset viewer.