Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 10, 2015, 7:47:39 PM (10 years ago)
Author:
fvultier
Message:

bug in the WeaponHUD fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/modules/overlays/hud/HUDWeaponSystem.cc

    r10739 r10794  
    100100    {
    101101        SUPER(HUDWeaponSystem, changedVisibility);
     102
     103        bool visible = this->isVisible();
     104
     105        for (std::vector<WeakPtr<HUDWeapon> >::iterator it = hudWeapons_.begin(); it != hudWeapons_.end(); ++it)
     106        {
     107            (*it)->setVisible(visible);
     108        }
    102109    }
    103110
Note: See TracChangeset for help on using the changeset viewer.