- Timestamp:
- Apr 4, 2019, 4:37:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/BallGun/BallMunition.cc
r12254 r12281 39 39 RegisterClass(BallMunition); 40 40 41 BallMunition::BallMunition(Context* context) : Munition(context)41 BallMunition::BallMunition(Context* context) : ReplenishingMunition(context) 42 42 { 43 43 RegisterObject(BallMunition); 44 44 45 this->maxMunitionPerMagazine_ = 1;46 this->maxMagazines_ = 50;47 this->unassignedMagazines_ = 25;45 this->maxMunitionPerMagazine_ = 20; 46 this->maxMagazines_ = 10; 47 this->unassignedMagazines_ = 10; 48 48 49 this->deployment_ = MunitionDeployment::S tack;49 this->deployment_ = MunitionDeployment::Separate; 50 50 51 51 this->bAllowMunitionRefilling_ = true; 52 this->bAllowMultiMunitionRemovementUnderflow_ = false;52 this->bAllowMultiMunitionRemovementUnderflow_ = true; 53 53 54 this->reloadTime_ = 0.5f; 54 this->replenishInterval_ = 7.0f; 55 this->replenishAmount_ = 1; 56 57 this->reloadTime_ = 0.6f; 55 58 } 56 59 }
Note: See TracChangeset
for help on using the changeset viewer.