Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2008, 11:44:37 AM (16 years ago)
Author:
polakma
Message:

debugging changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/weapons/LaserGun.cc

    r2337 r2347  
    4848        //this->setLoadingTime(0.5);
    4949
    50         //how could it be loaded by XML
     50COUT(0) << "LaserGun::LaserGun" << std::endl;
    5151        this->attachNeededMunition(this->getMunitionType());
    5252    }
     
    6161        if ( this->getBulletReadyToShoot() && this->getMagazineReadyToShoot() )
    6262        {
    63 COUT(0) << "LaserGun::fire - ready to shoot" << std::endl;   
     63COUT(0) << "LaserGun::fire - ready to shoot" << std::endl;
    6464            //take munition
     65            this->setBulletReadyToShoot(false);
     66            Weapon::bulletTimer();
    6567            this->getAttachedMunition(this->munitionType_)->removeBullets(1,this);
    66             Weapon::bulletTimer();
    67             this->setBulletReadyToShoot(false);
    6868
    6969            //create projectile
Note: See TracChangeset for help on using the changeset viewer.