Changeset 6810 for code/branches/rocket/src/modules/weapons/weaponmodes
- Timestamp:
- Apr 30, 2010, 2:34:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r6778 r6810 46 46 RegisterObject(SimpleRocketFire); 47 47 48 this->reloadTime_ = 0.20f;48 /* this->reloadTime_ = 0.20f; 49 49 this->bParallelReload_ = false; 50 50 this->damage_ = 100; 51 51 this->speed_ = 500; 52 52 53 this->setMunitionName("LaserMunition"); 53 this->setMunitionName("LaserMunition");*/ 54 54 // The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning) 55 55 } … … 63 63 SimpleRocket* rocket = new SimpleRocket(this); 64 64 65 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());65 /* this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 66 66 rocket->setOrientation(this->getMuzzleOrientation()); 67 67 rocket->setPosition(this->getMuzzlePosition()); … … 70 70 71 71 rocket->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 72 rocket->setDamage(this->getDamage()); 72 rocket->setDamage(this->getDamage());*/ 73 73 } 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.