- Timestamp:
- Dec 22, 2009, 2:07:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/worldentities/ControllableEntity.cc
r6387 r6394 333 333 this->camera_ = new Camera(this); 334 334 this->camera_->requestFocus(); 335 if ( this->cameraPositionTemplate_ != "")335 if (!this->cameraPositionTemplate_.empty()) 336 336 this->addTemplate(this->cameraPositionTemplate_); 337 337 if (this->cameraPositions_.size() > 0) … … 349 349 if (!this->hud_ && GameMode::showsGraphics()) 350 350 { 351 if ( this->hudtemplate_ != "")351 if (!this->hudtemplate_.empty()) 352 352 { 353 353 this->hud_ = new OverlayGroup(this);
Note: See TracChangeset
for help on using the changeset viewer.