Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2012, 3:06:56 PM (13 years ago)
Author:
mpalic
Message:

Modified SimpleRocket to be able to use it for the SpaceBomb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spacebomb/src/modules/weapons/weaponmodes/SimpleRocketFire.cc

    r8855 r9237  
    8181        rocket->setOrientation(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getWorldOrientation());
    8282        rocket->setPosition(this->getMuzzlePosition());
    83         rocket->setVelocity(this->getMuzzleDirection()*this->speed_);
     83        rocket->setVelocity(0.0f,0.0f,0.0f);
    8484        rocket->setShooter(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn());
    8585
Note: See TracChangeset for help on using the changeset viewer.