Changeset 8809 for code/branches/output/src/orxonox/weaponsystem
- Timestamp:
- Aug 1, 2011, 4:37:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/weaponsystem/WeaponMode.cc
r8706 r8809 188 188 this->munitiontype_ = identifier; 189 189 else 190 COUT(2) << "Warning: No munition class defined in WeaponMode " << this->getName() << std::endl;190 orxout(internal_warning) << "No munition class defined in WeaponMode " << this->getName() << endl; 191 191 this->updateMunition(); 192 192 } … … 249 249 Vector3 muzzleDirection; 250 250 muzzleDirection = target - this->muzzlePosition_; 251 // COUT(0) << "muzzleDirection " << muzzleDirection << endl;252 251 this->muzzleOrientation_ = (this->weapon_->getWorldOrientation() * WorldEntity::FRONT).getRotationTo(muzzleDirection) * this->weapon_->getWorldOrientation(); 253 252 }
Note: See TracChangeset
for help on using the changeset viewer.