- Timestamp:
- May 25, 2011, 9:41:29 PM (13 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
- Property svn:mergeinfo changed
-
code/branches/presentation/src/modules/weapons/weaponmodes/LaserFire.cc
r8579 r8580 23 23 * Martin Polak 24 24 * Co-authors: 25 * ...25 * simonmie 26 26 * 27 27 */ … … 45 45 46 46 this->reloadTime_ = 0.25; 47 this->damage_ = 15;47 this->damage_ = 0; //default 15 48 48 this->speed_ = 1250; 49 49 … … 51 51 } 52 52 53 /* Creates the projectile object, sets its properties to the LaserFire properties 54 */ 53 55 void LaserFire::fire() 54 56 { … … 61 63 projectile->setOwner(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()); 62 64 projectile->setDamage(this->getDamage()); 65 projectile->setShieldDamage(this->getShieldDamage()); 66 projectile->setHealthDamage(this->getHealthDamage()); 63 67 } 64 68 }
Note: See TracChangeset
for help on using the changeset viewer.