Changeset 5993 for code/branches/steering/src/orxonox/infos
- Timestamp:
- Oct 26, 2009, 11:01:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/steering/src/orxonox/infos/PlayerInfo.cc
r5981 r5993 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 }164 162 165 163 this->changedControllableEntity(); … … 176 174 this->controllableEntityID_ = OBJECTID_UNKNOWN; 177 175 178 if (this->controller_) {176 if (this->controller_) 179 177 this->controller_->setControllableEntity(0); 180 this->controller_->stopControl();181 }182 178 183 179 entity->removePlayer();
Note: See TracChangeset
for help on using the changeset viewer.