Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2015, 10:21:55 AM (9 years ago)
Author:
maxima
Message:

clangenb: new spaceship heartattack merged to presentation

Location:
code/branches/presentationFS15/src/modules/weapons/weaponmodes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS15/src/modules/weapons/weaponmodes/EnergyDrink.cc

    r10296 r10496  
    108108        model->setScale(5);
    109109
     110        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    110111        projectile->setOrientation(this->getMuzzleOrientation());
    111112        projectile->setPosition(this->getMuzzlePosition());
  • code/branches/presentationFS15/src/modules/weapons/weaponmodes/FusionFire.cc

    r10296 r10496  
    6767    {
    6868        BillboardProjectile* projectile = new BillboardProjectile(this->getContext());
    69 
     69       
     70        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    7071        projectile->setOrientation(this->getMuzzleOrientation());
    7172        projectile->setPosition(this->getMuzzlePosition());
  • code/branches/presentationFS15/src/modules/weapons/weaponmodes/LaserFire.cc

    r10296 r10496  
    6666        ParticleProjectile* projectile = new ParticleProjectile(this->getContext());
    6767
     68        this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());
    6869        projectile->setOrientation(this->getMuzzleOrientation());
    6970        projectile->setPosition(this->getMuzzlePosition());
Note: See TracChangeset for help on using the changeset viewer.