Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2015, 12:08:30 PM (9 years ago)
Author:
gania
Message:

created destructor functions and improved findNewLeader and findNewDivisionLeader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/DivisionController.cc

    r10719 r10722  
    4545        if (this->isInitialized())
    4646        {
    47            
     47            if (this->myFollower_)
     48                this->myFollower_->myDivisionLeader_ = 0;
     49            if (this->myWingman_)
     50                this->myWingman_->myLeader_ = 0;
    4851        }
    4952    } void DivisionController::tick(float dt)
    5053    {
    51                 SUPER(DivisionController, tick, dt);
     54        SUPER(DivisionController, tick, dt);
    5255
    5356    }
Note: See TracChangeset for help on using the changeset viewer.