Changeset 6412 for code/branches/pickup2/src/orxonox/infos/HumanPlayer.cc
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/infos/HumanPlayer.cc
r5929 r6412 35 35 #include "network/Host.h" 36 36 #include "controllers/HumanController.h" 37 #include "controllers/NewHumanController.h" 37 38 #include "gametypes/Gametype.h" 38 39 #include "overlays/OverlayGroup.h" … … 50 51 51 52 this->bHumanPlayer_ = true; 52 this->defaultController_ = Class( HumanController);53 this->defaultController_ = Class(NewHumanController); 53 54 54 55 this->humanHud_ = 0; … … 163 164 if (this->isInitialized() && this->isLocalPlayer()) 164 165 { 165 if (this->getGametype() && this->getGametype()->getHUDTemplate() != "")166 if (this->getGametype() && !this->getGametype()->getHUDTemplate().empty()) 166 167 this->setGametypeHUDTemplate(this->getGametype()->getHUDTemplate()); 167 168 else … … 178 179 } 179 180 180 if (this->isLocalPlayer() && this->humanHudTemplate_ != ""&& GameMode::showsGraphics())181 if (this->isLocalPlayer() && !this->humanHudTemplate_.empty() && GameMode::showsGraphics()) 181 182 { 182 183 this->humanHud_ = new OverlayGroup(this); … … 194 195 } 195 196 196 if (this->isLocalPlayer() && this->gametypeHudTemplate_ != "")197 if (this->isLocalPlayer() && !this->gametypeHudTemplate_.empty()) 197 198 { 198 199 this->gametypeHud_ = new OverlayGroup(this);
Note: See TracChangeset
for help on using the changeset viewer.