- Timestamp:
- Nov 1, 2015, 1:05:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/overlays/hud/HUDWeapon.cc
r10724 r10739 60 60 { 61 61 destroyHUDChilds(); 62 //this->overlayElement_->destroy();63 62 } 64 63 } … … 179 178 for (std::vector<WeakPtr<HUDWeaponMode> >::iterator it = hudWeaponModes_.begin(); it != hudWeaponModes_.end(); ++it) 180 179 { 180 (*it)->setPositionOffset(this->positionOffset_); 181 181 (*it)->setWeaponModeIndex(positionIndex); 182 182 (*it)->setWeaponIndex(this->weaponIndex_); … … 210 210 if (weaponModes_ != NULL) 211 211 { 212 this->setPosition(Vector2(weaponModeHUDActualSize_.x*weaponIndex_,0.0f) );212 this->setPosition(Vector2(weaponModeHUDActualSize_.x*weaponIndex_,0.0f) + this->positionOffset_); 213 213 } 214 214 }
Note: See TracChangeset
for help on using the changeset viewer.