- Timestamp:
- Nov 27, 2015, 6:49:54 PM (8 years ago)
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.