Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 12:50:18 PM (15 years ago)
Author:
polakma
Message:

made some changes (still doesn't compile)

File:
1 edited

Legend:

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

    r2145 r2186  
    5252        this->activeWeaponSet_ = 0;
    5353        this->parentSpaceShip_ = 0;
    54         //this->attachedMunition_ =0;
     54        this->attachedMunition_ =0;
    5555    }
    5656
     
    8080    void WeaponSystem::fire(WeaponMode::Enum n)
    8181    {
    82         if (n < this->weaponSets_.size())
     82        if (n < (int)this->weaponSets_.size())
    8383            this->weaponSets_[n]->fire();
    8484    }
     
    9898    }
    9999
    100     /*
     100    Munition * WeaponSystem::getAttachedMunitionPointer()
     101    {
     102        return this->attachedMunition_;
     103    }
     104
    101105    void WeaponSystem::addMunitionType(Munition *munitionPointer)
    102106    {
     
    106110            this->attachedMunition_ = munitionPointer;
    107111        else
    108             this->unlimitedAmmo_ = true;
     112            ;//was?
    109113
    110114    }
    111     */
     115
    112116
    113117}
Note: See TracChangeset for help on using the changeset viewer.