Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2019, 2:53:00 PM (5 years ago)
Author:
pomselj
Message:

Projectiles survive infinitely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/weapons/weaponmodes/BallGun.cc

    r12371 r12378  
    6060        this->reloadTime_ = 0.25f;
    6161        this->damage_ = 0.0f; //default 15
    62         this->speed_ = 50;
     62        this->speed_ = 100;
    6363        this->delay_ = 100;
    6464        this->setMunitionName("BallMunition");
     
    104104    void BallGun::fire()
    105105    {
    106         orxout() << "fire" << endl;
    107106        this->delayTimer_.startTimer();
    108107    }
     
    115114    {
    116115        assert( this->getWeapon() && this->getWeapon()->getWeaponPack() && this->getWeapon()->getWeaponPack()->getWeaponSystem() && this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn() );
    117         orxout() << "SHOT!" << endl;
    118116        // Create the projectile.
    119117        Projectile* projectile = new BallProjectile(this->getContext());
Note: See TracChangeset for help on using the changeset viewer.