- Timestamp:
- Mar 19, 2009, 4:55:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponsystem/src/orxonox/objects/weaponSystem/WeaponPack.cc
r2710 r2804 63 63 for (int i=0; i < (int) this->weapons_.size(); i++) 64 64 { 65 //COUT(0) << "WeaponPack::fire (attached from WeaponSet) from Weapon: "<< i << std::endl;66 65 this->weapons_[i]->getAttachedToWeaponSlot()->fire(); 67 66 } … … 83 82 void WeaponPack::setFireMode(unsigned int firemode) 84 83 { 85 //COUT(0) << "WeaponPack::setFireMode " << std::endl;86 84 this->firemode_ = firemode; 87 85 } … … 94 92 void WeaponPack::addWeapon(Weapon * weapon) 95 93 { 96 //COUT(0) << "WeaponPack::addWeapon:" << weapon << " munition " << weapon->getMunitionType() << std::endl;97 94 this->weapons_.push_back(weapon); 98 95 } … … 117 114 { 118 115 this->weapons_[i]->attachNeededMunition(weapons_[i]->getMunitionType()); 119 //hack!120 116 this->weapons_[i]->setWeapon(); 121 117 }
Note: See TracChangeset
for help on using the changeset viewer.