Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2008, 5:44:34 PM (15 years ago)
Author:
polakma
Message:

fixed some pointer bugs

File:
1 edited

Legend:

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

    r2337 r2366  
    5656    {
    5757COUT(0) << "WeaponSet::attachWeaponPack" << std::endl;
     58COUT(0) << "........ parentWeaponSystem_=" << this->parentWeaponSystem_ << std::endl;
     59COUT(0) << "........ this->parentWeaponSystem_->getWeaponSlotSize()" << this->parentWeaponSystem_->getWeaponSlotSize() << std::endl;
     60COUT(0) << "........ wPack->getSize()" << wPack->getSize() << std::endl;
    5861        if ( this->parentWeaponSystem_->getWeaponSlotSize()>0 && wPack->getSize()>0 && ( wPack->getSize() <= this->parentWeaponSystem_->getWeaponSlotSize() ) )
    5962        {
     63COUT(0) << "WeaponSet::attachWeaponPack after if" << std::endl;
    6064            this->attachedWeaponPack_ = wPack;
    6165            int wPackWeapon = 0;    //WeaponCounter for Attaching
     
    7882    {
    7983        //fires all WeaponSlots available for this weaponSet attached from the WeaponPack
    80 COUT(0) << "WeaponSet::fire" << std::endl;
     84COUT(0) << "WeaponSet::fire from Pack: " << this->attachedWeaponPack_ << std::endl;
    8185        this->attachedWeaponPack_->fire();
    8286    }
Note: See TracChangeset for help on using the changeset viewer.