Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 10:25:03 PM (15 years ago)
Author:
landauf
Message:

replaced delete with destroy() in orxonox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/weaponsystem/Weapon.cc

    r5738 r5801  
    6262
    6363            for (std::multimap<unsigned int, WeaponMode*>::iterator it = this->weaponmodes_.begin(); it != this->weaponmodes_.end(); ++it)
    64                 delete it->second;
     64                it->second->destroy();
    6565        }
    6666    }
Note: See TracChangeset for help on using the changeset viewer.