- Timestamp:
- Dec 5, 2008, 11:44:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/weapons/LaserGun.cc
r2337 r2347 48 48 //this->setLoadingTime(0.5); 49 49 50 //how could it be loaded by XML 50 COUT(0) << "LaserGun::LaserGun" << std::endl; 51 51 this->attachNeededMunition(this->getMunitionType()); 52 52 } … … 61 61 if ( this->getBulletReadyToShoot() && this->getMagazineReadyToShoot() ) 62 62 { 63 COUT(0) << "LaserGun::fire - ready to shoot" << std::endl; 63 COUT(0) << "LaserGun::fire - ready to shoot" << std::endl; 64 64 //take munition 65 this->setBulletReadyToShoot(false); 66 Weapon::bulletTimer(); 65 67 this->getAttachedMunition(this->munitionType_)->removeBullets(1,this); 66 Weapon::bulletTimer();67 this->setBulletReadyToShoot(false);68 68 69 69 //create projectile
Note: See TracChangeset
for help on using the changeset viewer.