Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 3, 2015, 5:06:05 PM (8 years ago)
Author:
gania
Message:

fixed a bug

File:
1 edited

Legend:

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

    r10762 r10763  
    4040       
    4141        this->setFormationMode(FormationMode::DIAMOND);
    42 
     42        this->target_ = 0;
    4343        this->myFollower_ = 0;
    4444        this->myWingman_ = 0;
     
    4646        this->rank_ = Rank::DIVISIONLEADER;
    4747
    48         Vector3* pos = new Vector3(-4000,-1000,-2000);
    49         this->setTargetPosition(*pos);
    5048
    5149    }
     
    7674    void DivisionController::action()
    7775    {
     76/*
     77        Vector3* pos = new Vector3(4000,1000,2000);
     78        this->setTargetPosition(*pos);*/
     79
    7880        setTargetPositionOfFollower();
    7981        setTargetPositionOfWingman();
Note: See TracChangeset for help on using the changeset viewer.