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/WeaponSystem.cc

    r2337 r2366  
    6262    void WeaponSystem::attachWeaponPack(WeaponPack *wPack, unsigned int firemode)
    6363    {
    64         wPack->setParentWeaponSystem(this);
    6564        if (firemode < this->weaponSets_.size())
    6665            this->weaponSets_[firemode]->attachWeaponPack(wPack);
     
    8887    Munition * WeaponSystem::getMunitionType(std::string munitionType)
    8988    {
     89COUT(0) << "WeaponSystem::getMunitionType " << munitionType << std::endl;
    9090        std::map<std::string, Munition *>::const_iterator it = this->munitionSet_.find(munitionType);
    9191        if (it != this->munitionSet_.end())
Note: See TracChangeset for help on using the changeset viewer.