- Timestamp:
- Mar 1, 2015, 10:06:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/weaponmodes/EnergyDrink.cc
r10294 r10296 110 110 projectile->setOrientation(this->getMuzzleOrientation()); 111 111 projectile->setPosition(this->getMuzzlePosition()); 112 projectile->setVelocity(this->get Weapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_);112 projectile->setVelocity(this->getMuzzleDirection() * this->speed_); 113 113 114 114 projectile->setShooter(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn());
Note: See TracChangeset
for help on using the changeset viewer.