Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2015, 11:27:32 PM (9 years ago)
Author:
fvultier
Message:
 
File:
1 edited

Legend:

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

    r10714 r10721  
    302302                }
    303303
    304                 // If we reached the limit, reduze both magazines and munition to the maximum
     304                // If we reached the limit, reduce both magazines and munition to the maximum
    305305                if (this->magazines_ >= this->maxMagazines_)
    306306                {
    307                     this->magazines_ = this->maxMagazines_ - 1;
     307                    this->magazines_ = this->maxMagazines_;
    308308                    magazine->munition_ = this->maxMunitionPerMagazine_;
    309309                }
Note: See TracChangeset for help on using the changeset viewer.