- Timestamp:
- Nov 27, 2015, 6:49:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/orxonox/weaponsystem/ReplenishingMunition.cc
r10791 r10878 76 76 void ReplenishingMunition::replenish() 77 77 { 78 if (this->canAddM unition(this->replenishAmount_))78 if (this->canAddMagazines(this->replenishAmount_)) 79 79 { 80 80 // Make a temporary copy of bAllowMunitionRefilling_, because this might be disallowed in every … … 84 84 85 85 // Replenish munition 86 this->addM unition(this->replenishAmount_);86 this->addMagazines(this->replenishAmount_); 87 87 88 88 // Write back the temporary value
Note: See TracChangeset
for help on using the changeset viewer.