Changeset 2973 for code/trunk/src/orxonox/objects/infos/HumanPlayer.cc
- Timestamp:
- May 12, 2009, 9:24:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/infos/HumanPlayer.cc
r2896 r2973 167 167 } 168 168 169 void HumanPlayer::changedControllableEntity()170 {171 PlayerInfo::changedControllableEntity();172 173 if (this->humanHud_)174 this->humanHud_->setOwner(this->getControllableEntity());175 }176 177 169 void HumanPlayer::updateHumanHUD() 178 170 { … … 187 179 this->humanHud_ = new OverlayGroup(this); 188 180 this->humanHud_->addTemplate(this->humanHudTemplate_); 189 this->humanHud_->setOwner(this ->getControllableEntity());181 this->humanHud_->setOwner(this); 190 182 } 191 183 } … … 203 195 this->gametypeHud_ = new OverlayGroup(this); 204 196 this->gametypeHud_->addTemplate(this->gametypeHudTemplate_); 205 this->gametypeHud_->setOwner(this ->getGametype());197 this->gametypeHud_->setOwner(this); 206 198 } 207 199 }
Note: See TracChangeset
for help on using the changeset viewer.