Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2015, 6:49:54 PM (9 years ago)
Author:
fvultier
Message:
 
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  
    7171                target = target->getParent();
    7272            pawn = orxonox_cast<Pawn*>(target);
    73             // Don't show the HealthBar if the pawn is invisible
     73            // Don't show the EnemyShieldBar if the pawn is invisible
    7474            if (pawn && !pawn->isVisible())
    7575                pawn = NULL;
    7676        }
    77         // Set the pawn as owner of the HealthBar
     77        // Set the pawn as owner of the EnemyShieldBar
    7878        this->setShieldBarOwner(pawn);
    7979        this->setVisible(pawn != NULL);
  • code/branches/fabienHS15/src/modules/overlays/hud/HUDWeaponMode.cc

    r10795 r10878  
    160160                    ReplenishingMunition* replenishingMunition = dynamic_cast<ReplenishingMunition*>(munition);
    161161
    162                     if (replenishingMunition->canAddMunition(1))
     162                    if (replenishingMunition->canAddMagazines(1))
    163163                    {
    164164                        float progress = 1.0f - replenishingMunition->getProgress();
Note: See TracChangeset for help on using the changeset viewer.