Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 10, 2011, 5:42:29 PM (14 years ago)
Author:
landauf
Message:

fixed two bugs regarding the munition

File:
1 edited

Legend:

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

    r7284 r7847  
    185185                    if (magazine->munition_ > 0 && this->bAllowMultiMunitionRemovementUnderflow_)
    186186                    {
    187                         magazine->munition_ -= 0;
     187                        magazine->munition_ = 0;
    188188                        return true;
    189189                    }
Note: See TracChangeset for help on using the changeset viewer.