Changeset 10878 for code/branches/fabienHS15/src/modules/overlays/hud
- Timestamp:
- Nov 27, 2015, 6:49:54 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/overlays/hud/HUDEnemyShieldBar.cc
r10842 r10878 71 71 target = target->getParent(); 72 72 pawn = orxonox_cast<Pawn*>(target); 73 // Don't show the HealthBar if the pawn is invisible73 // Don't show the EnemyShieldBar if the pawn is invisible 74 74 if (pawn && !pawn->isVisible()) 75 75 pawn = NULL; 76 76 } 77 // Set the pawn as owner of the HealthBar77 // Set the pawn as owner of the EnemyShieldBar 78 78 this->setShieldBarOwner(pawn); 79 79 this->setVisible(pawn != NULL); -
code/branches/fabienHS15/src/modules/overlays/hud/HUDWeaponMode.cc
r10795 r10878 160 160 ReplenishingMunition* replenishingMunition = dynamic_cast<ReplenishingMunition*>(munition); 161 161 162 if (replenishingMunition->canAddM unition(1))162 if (replenishingMunition->canAddMagazines(1)) 163 163 { 164 164 float progress = 1.0f - replenishingMunition->getProgress();
Note: See TracChangeset
for help on using the changeset viewer.