- Timestamp:
- May 16, 2011, 5:25:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r7846 r8492 71 71 rocket->setVelocity(this->getMuzzleDirection()*this->speed_); 72 72 rocket->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 73 73 74 rocket->setDamage(this->damage_); 75 // rocket->setShieldDamage(this->getShieldDamage()); 76 // rocket->setHealthDamage(this->getHealthDamage()); 77 74 78 WorldEntity* pawnn=static_cast<ControllableEntity*>(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn())->getTarget(); 75 79 if (pawnn) con->setTarget(pawnn);
Note: See TracChangeset
for help on using the changeset viewer.