Changeset 10721 for code/branches/fabienHS15/src/orxonox/weaponsystem
- Timestamp:
- Oct 29, 2015, 11:27:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/orxonox/weaponsystem/Munition.cc
r10714 r10721 302 302 } 303 303 304 // If we reached the limit, redu ze both magazines and munition to the maximum304 // If we reached the limit, reduce both magazines and munition to the maximum 305 305 if (this->magazines_ >= this->maxMagazines_) 306 306 { 307 this->magazines_ = this->maxMagazines_ - 1;307 this->magazines_ = this->maxMagazines_; 308 308 magazine->munition_ = this->maxMunitionPerMagazine_; 309 309 }
Note: See TracChangeset
for help on using the changeset viewer.