- Timestamp:
- Apr 8, 2009, 12:58:47 AM (15 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/weaponSystem/WeaponPack.cc
r2907 r2908 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; 65 66 this->weapons_[i]->getAttachedToWeaponSlot()->fire(); 66 67 } … … 82 83 void WeaponPack::setFireMode(unsigned int firemode) 83 84 { 85 //COUT(0) << "WeaponPack::setFireMode " << std::endl; 84 86 this->firemode_ = firemode; 85 87 } … … 92 94 void WeaponPack::addWeapon(Weapon * weapon) 93 95 { 96 //COUT(0) << "WeaponPack::addWeapon:" << weapon << " munition " << weapon->getMunitionType() << std::endl; 94 97 this->weapons_.push_back(weapon); 95 98 } … … 114 117 { 115 118 this->weapons_[i]->attachNeededMunition(weapons_[i]->getMunitionType()); 119 //hack! 116 120 this->weapons_[i]->setWeapon(); 117 121 }
Note: See TracChangeset
for help on using the changeset viewer.