- Timestamp:
- Mar 1, 2015, 10:06:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/weaponmodes/RocketFire.cc
r9667 r10296 76 76 rocket->setOrientation(this->getMuzzleOrientation()); 77 77 rocket->setPosition(this->getMuzzlePosition()); 78 rocket->setVelocity(this->get Weapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_);78 rocket->setVelocity(this->getMuzzleDirection() * this->speed_); 79 79 rocket->scale(2); 80 80
Note: See TracChangeset
for help on using the changeset viewer.