Changeset 5846 for code/branches/core5/src/orxonox
- Timestamp:
- Oct 1, 2009, 11:07:57 AM (15 years ago)
- Location:
- code/branches/core5/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/infos/HumanPlayer.cc
r5806 r5846 178 178 } 179 179 180 if (this->isLocalPlayer() && this->humanHudTemplate_ != "" )180 if (this->isLocalPlayer() && this->humanHudTemplate_ != "" && GameMode::showsGraphics()) 181 181 { 182 182 this->humanHud_ = new OverlayGroup(this); -
code/branches/core5/src/orxonox/worldentities/ControllableEntity.cc
r5801 r5846 275 275 void ControllableEntity::startLocalHumanControl() 276 276 { 277 if (!this->camera_ )277 if (!this->camera_ && GameMode::showsGraphics()) 278 278 { 279 279 this->camera_ = new Camera(this); … … 287 287 } 288 288 289 if (!this->hud_ )289 if (!this->hud_ && GameMode::showsGraphics()) 290 290 { 291 291 if (this->hudtemplate_ != "")
Note: See TracChangeset
for help on using the changeset viewer.