- 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/WeaponSet.cc
r2337 r2366 56 56 { 57 57 COUT(0) << "WeaponSet::attachWeaponPack" << std::endl; 58 COUT(0) << "........ parentWeaponSystem_=" << this->parentWeaponSystem_ << std::endl; 59 COUT(0) << "........ this->parentWeaponSystem_->getWeaponSlotSize()" << this->parentWeaponSystem_->getWeaponSlotSize() << std::endl; 60 COUT(0) << "........ wPack->getSize()" << wPack->getSize() << std::endl; 58 61 if ( this->parentWeaponSystem_->getWeaponSlotSize()>0 && wPack->getSize()>0 && ( wPack->getSize() <= this->parentWeaponSystem_->getWeaponSlotSize() ) ) 59 62 { 63 COUT(0) << "WeaponSet::attachWeaponPack after if" << std::endl; 60 64 this->attachedWeaponPack_ = wPack; 61 65 int wPackWeapon = 0; //WeaponCounter for Attaching … … 78 82 { 79 83 //fires all WeaponSlots available for this weaponSet attached from the WeaponPack 80 COUT(0) << "WeaponSet::fire "<< std::endl;84 COUT(0) << "WeaponSet::fire from Pack: " << this->attachedWeaponPack_ << std::endl; 81 85 this->attachedWeaponPack_->fire(); 82 86 }
Note: See TracChangeset
for help on using the changeset viewer.