- Timestamp:
- Dec 25, 2009, 10:23:58 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/weapons/weaponmodes/LightningGun.cc
r5781 r6417 34 34 #include "weaponsystem/WeaponPack.h" 35 35 #include "weaponsystem/WeaponSystem.h" 36 #include "worldentities/pawns/Pawn.h" 36 37 37 38 namespace orxonox … … 48 49 49 50 this->setMunitionName("LaserMunition"); 51 this->setDefaultSound("sounds/Weapon_LightningGun.ogg"); 50 52 } 51 53 … … 59 61 projectile->setMaterial("Flares/LightningBall_"); 60 62 63 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 61 64 projectile->setOrientation(this->getMuzzleOrientation()); 62 65 projectile->setPosition(this->getMuzzlePosition());
Note: See TracChangeset
for help on using the changeset viewer.