Changeset 6732 for code/trunk/src/modules/weapons/weaponmodes/HsW01.cc
- Timestamp:
- Apr 15, 2010, 3:35:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/weaponmodes/HsW01.cc
r6417 r6732 122 122 projectile->setOrientation(this->getMuzzleOrientation()); 123 123 projectile->setPosition(this->getMuzzlePosition()); 124 projectile->setVelocity(this->get MuzzleDirection() * this->speed_);124 projectile->setVelocity(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_); 125 125 126 126 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn());
Note: See TracChangeset
for help on using the changeset viewer.