- Timestamp:
- May 23, 2011, 5:16:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r8492 r8547 23 23 * Oliver Scheuss 24 24 * Co-authors: 25 * ...25 * simonmie 26 26 * 27 27 */ … … 62 62 } 63 63 64 /* Creates the Rocket (RocketController) object, sets its properties to the SimpleRocketFire properties, sets target 65 */ 64 66 void SimpleRocketFire::fire() 65 67 { … … 73 75 74 76 rocket->setDamage(this->damage_); 75 //rocket->setShieldDamage(this->getShieldDamage());76 //rocket->setHealthDamage(this->getHealthDamage());77 rocket->setShieldDamage(this->getShieldDamage()); 78 rocket->setHealthDamage(this->getHealthDamage()); 77 79 78 80 WorldEntity* pawnn=static_cast<ControllableEntity*>(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn())->getTarget();
Note: See TracChangeset
for help on using the changeset viewer.