- Timestamp:
- May 30, 2011, 10:20:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/infos/PlayerInfo.cc
r8561 r8682 176 176 if (!entity) 177 177 return; 178 178 179 this->controllableEntity_->destroyHud(); // HACK-ish 179 180 this->previousControllableEntity_.push_back(WeakPtr<ControllableEntity>(this->controllableEntity_)); 180 181 this->controllableEntity_ = entity; … … 234 235 235 236 this->controllableEntity_->setController(0); 237 this->controllableEntity_->destroyHud(); // HACK-ish 236 238 237 239 // this->controllableEntity_ = this->previousControllableEntity_.back(); … … 245 247 this->controller_->setControllableEntity(this->controllableEntity_); 246 248 249 // HACK-ish 250 if(this->controllableEntity_ != NULL) 251 this->controllableEntity_->createHud(); 252 247 253 if ( GameMode::isMaster() ) 248 254 entity->removePlayer();
Note: See TracChangeset
for help on using the changeset viewer.