Changeset 5826 for code/branches/core5/src/modules
- Timestamp:
- Sep 28, 2009, 9:05:56 PM (15 years ago)
- Location:
- code/branches/core5/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/overlays/hud/HUDHealthBar.cc
r5800 r5826 85 85 this->textoverlay_->setCaption(multi_cast<std::string>(static_cast<int>(this->owner_->getHealth()))); 86 86 } 87 else 88 { 89 this->setValue(0); 90 this->textoverlay_->setCaption("0"); 91 } 87 92 88 93 if (this->bUseBarColour_) -
code/branches/core5/src/modules/overlays/hud/HUDHealthBar.h
r5738 r5826 111 111 112 112 private: 113 Pawn*owner_;113 WeakPtr<Pawn> owner_; 114 114 OverlayText* textoverlay_; 115 115 bool bUseBarColour_;
Note: See TracChangeset
for help on using the changeset viewer.