- Timestamp:
- May 23, 2011, 5:16:00 PM (14 years ago)
- Location:
- code/branches/gameimmersion/src/modules/weapons/weaponmodes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/weaponmodes/RocketFire.cc
r8542 r8547 73 73 rocket->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 74 74 rocket->setDamage(this->getDamage()); 75 // rocket->setShieldDamage(this->getShieldDamage()); //correct this! 76 //rocket->setHealthDamage(this->getHealthDamage());75 rocket->setShieldDamage(this->getShieldDamage()); 76 rocket->setHealthDamage(this->getHealthDamage()); 77 77 } 78 78 } -
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.