Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2015, 6:49:54 PM (8 years ago)
Author:
fvultier
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/orxonox/weaponsystem/ReplenishingMunition.cc

    r10791 r10878  
    7676    void ReplenishingMunition::replenish()
    7777    {
    78         if (this->canAddMunition(this->replenishAmount_))
     78        if (this->canAddMagazines(this->replenishAmount_))
    7979        {
    8080            // Make a temporary copy of bAllowMunitionRefilling_, because this might be disallowed in every
     
    8484
    8585            // Replenish munition
    86             this->addMunition(this->replenishAmount_);
     86            this->addMagazines(this->replenishAmount_);
    8787
    8888            // Write back the temporary value
Note: See TracChangeset for help on using the changeset viewer.