- Timestamp:
- Apr 15, 2010, 3:35:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/weaponmodes/LightningGun.cc
r6417 r6732 64 64 projectile->setOrientation(this->getMuzzleOrientation()); 65 65 projectile->setPosition(this->getMuzzlePosition()); 66 projectile->setVelocity(this->get MuzzleDirection() * this->speed_);66 projectile->setVelocity(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_); 67 67 projectile->setAcceleration(this->getMuzzleDirection() * 1000); 68 68
Note: See TracChangeset
for help on using the changeset viewer.