- Timestamp:
- Dec 9, 2008, 5:44:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.cc
r2354 r2366 84 84 void Weapon::attachNeededMunition(std::string munitionName) 85 85 { 86 COUT(0) << "Weapon::attachNeededMunition, parentWeaponSystem=" << this->parentWeaponSystem_ << std::endl; 86 87 //if munition type already exists attach it, else create a new one of this type and attach it to the weapon and to the WeaponSystem 87 88 if (this->parentWeaponSystem_) 88 89 { 90 COUT(0) << "Weapon::attachNeededMunition " << munitionName << std::endl; 89 91 Munition* munition = this->parentWeaponSystem_->getMunitionType(munitionName); 90 92 if ( munition )
Note: See TracChangeset
for help on using the changeset viewer.