- Timestamp:
- Nov 10, 2015, 7:47:39 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/modules/weapons/weaponmodes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/weapons/weaponmodes/RocketFire.cc
r10688 r10794 79 79 rocket->setPosition(this->getMuzzlePosition()); 80 80 rocket->setVelocity(this->getMuzzleDirection() * this->speed_); 81 rocket->scale( 2);81 rocket->scale(1.0f); 82 82 83 83 rocket->setShooter(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); -
code/branches/fabienHS15/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r10688 r10794 85 85 rocket->setVelocity(this->getMuzzleDirection()*this->speed_); 86 86 rocket->setShooter(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 87 rocket->scale(1.0f); 87 88 88 89 rocket->setDamage(this->damage_);
Note: See TracChangeset
for help on using the changeset viewer.