Changeset 5981 for code/branches/steering/src/orxonox/infos
- Timestamp:
- Oct 21, 2009, 5:17:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/steering/src/orxonox/infos/PlayerInfo.cc
r5929 r5981 158 158 this->bReadyToSpawn_ &= (!this->bSetUnreadyAfterSpawn_); 159 159 160 if (this->controller_) 160 if (this->controller_) { 161 161 this->controller_->setControllableEntity(entity); 162 this->controller_->startControl(); 163 } 162 164 163 165 this->changedControllableEntity(); … … 174 176 this->controllableEntityID_ = OBJECTID_UNKNOWN; 175 177 176 if (this->controller_) 178 if (this->controller_) { 177 179 this->controller_->setControllableEntity(0); 180 this->controller_->stopControl(); 181 } 178 182 179 183 entity->removePlayer();
Note: See TracChangeset
for help on using the changeset viewer.