Changeset 3300 for code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc
- Timestamp:
- Jul 17, 2009, 11:53:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc
r3280 r3300 83 83 { 84 84 this->setValue(this->owner_->getHealth() / this->owner_->getInitialHealth()); 85 this->textoverlay_->setCaption(multi_cast<std::string>( (int)this->owner_->getHealth()));85 this->textoverlay_->setCaption(multi_cast<std::string>(static_cast<int>(this->owner_->getHealth()))); 86 86 } 87 87
Note: See TracChangeset
for help on using the changeset viewer.