Changeset 10724 for code/branches/fabienHS15/src/orxonox/weaponsystem
- Timestamp:
- Oct 30, 2015, 7:51:49 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/orxonox/weaponsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/orxonox/weaponsystem/Munition.cc
r10721 r10724 351 351 352 352 // If there was no change in a loop, all magazines are full (or locked due to loading) 353 // Because the first loop does not sta t at the beginning of the map we have to treat is separately353 // Because the first loop does not start at the beginning of the map we have to treat is separately 354 354 if (!change && !firstLoop) 355 355 { -
code/branches/fabienHS15/src/orxonox/weaponsystem/Munition.h
r10713 r10724 78 78 inline unsigned int getMaxMunitionPerMagazine() const 79 79 { return this->maxMunitionPerMagazine_; } 80 inline bool getUseSeparateMagazines() const 81 { return deployment_ == MunitionDeployment::Separate; } 82 inline bool getStackMunition() const 83 { return deployment_ == MunitionDeployment::Stack; } 80 inline MunitionDeployment::Value getMunitionDeployment() const 81 { return deployment_; } 82 84 83 85 84 bool canTakeMunition(unsigned int amount, WeaponMode* user) const;
Note: See TracChangeset
for help on using the changeset viewer.