Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2011, 5:24:32 PM (13 years ago)
Author:
jo
Message:

Destructor update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/orxonox/controllers/ArtificialController.cc

    r8792 r8793  
    104104        if (this->isInitialized())
    105105        {//Vector-implementation: mode_.erase(mode_.begin(),mode_.end());
    106             for (size_t i = 0; i < this->waypoints_.size(); ++i)
    107             {
    108                 if(this->waypoints_[i])
    109                     this->waypoints_[i]->destroy();
    110             }
    111             //this->waypoints_.clear();
     106            this->waypoints_.clear();
    112107            this->removeFromFormation();
    113108            this->weaponModes_.clear();
Note: See TracChangeset for help on using the changeset viewer.