Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 9:20:39 PM (15 years ago)
Author:
polakma
Message:

altfire now available

File:
1 edited

Legend:

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

    r2391 r2398  
    6666    void WeaponSlot::fire()
    6767    {
     68        if ( this->attachedWeapon_ )
    6869COUT(0) << "WeaponSlot::fire" << std::endl;
    6970        this->attachedWeapon_->fire();
     
    7980    {
    8081        this->attachedWeapon_ = weapon;
     82        weapon->setAttachedToWeaponSlot(this);
    8183        this->attach(weapon);
    8284COUT(0) << "WeaponSlot::attachWeapon position=" << this->getWorldPosition() << std::endl;
Note: See TracChangeset for help on using the changeset viewer.