Changeset 6394 for code/branches/presentation2/src/orxonox/infos
- Timestamp:
- Dec 22, 2009, 2:07:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/infos/HumanPlayer.cc
r6108 r6394 164 164 if (this->isInitialized() && this->isLocalPlayer()) 165 165 { 166 if (this->getGametype() && this->getGametype()->getHUDTemplate() != "")166 if (this->getGametype() && !this->getGametype()->getHUDTemplate().empty()) 167 167 this->setGametypeHUDTemplate(this->getGametype()->getHUDTemplate()); 168 168 else … … 179 179 } 180 180 181 if (this->isLocalPlayer() && this->humanHudTemplate_ != ""&& GameMode::showsGraphics())181 if (this->isLocalPlayer() && !this->humanHudTemplate_.empty() && GameMode::showsGraphics()) 182 182 { 183 183 this->humanHud_ = new OverlayGroup(this); … … 195 195 } 196 196 197 if (this->isLocalPlayer() && this->gametypeHudTemplate_ != "")197 if (this->isLocalPlayer() && !this->gametypeHudTemplate_.empty()) 198 198 { 199 199 this->gametypeHud_ = new OverlayGroup(this);
Note: See TracChangeset
for help on using the changeset viewer.