- Timestamp:
- Dec 10, 2008, 9:20:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponSlot.cc
r2391 r2398 66 66 void WeaponSlot::fire() 67 67 { 68 if ( this->attachedWeapon_ ) 68 69 COUT(0) << "WeaponSlot::fire" << std::endl; 69 70 this->attachedWeapon_->fire(); … … 79 80 { 80 81 this->attachedWeapon_ = weapon; 82 weapon->setAttachedToWeaponSlot(this); 81 83 this->attach(weapon); 82 84 COUT(0) << "WeaponSlot::attachWeapon position=" << this->getWorldPosition() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.