Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2015, 4:48:27 PM (9 years ago)
Author:
gania
Message:

small fixes

File:
1 edited

Legend:

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

    r10731 r10759  
    4141        this->actionTimer_.setTimer(ACTION_INTERVAL, true, createExecutor(createFunctor(&WingmanController::action, this)));
    4242        this->myLeader_ = 0;
    43         this->rank_ = WINGMAN;
     43        this->rank_ = Rank::WINGMAN;
    4444
    4545    }
     
    5353    {   
    5454        //-------------------------------------------------------
    55            
     55       /* if (this->target_)
     56        {
     57            this->aimAtTarget();
     58            this->doFire();
     59            this->bShooting_ = true;
     60        }*/
    5661       
    5762        if (!this->isActive())
     
    8893                orxout(internal_error) << "new Leader set" << endl;
    8994            else
    90                 orxout(internal_error) << "0 leader" << endl;
     95            {
     96                //orxout(internal_error) << "0 leader" << endl;
     97               
     98            }
    9199
    92100        }
     
    113121            //0ptr?
    114122            if (!it ||
    115                 (it->getRank() != SECTIONLEADER && it->getRank() != DIVISIONLEADER) ||
     123                (it->getRank() != Rank::SECTIONLEADER && it->getRank() != Rank::DIVISIONLEADER) ||
    116124                !(it->getControllableEntity()))
    117125                continue;
Note: See TracChangeset for help on using the changeset viewer.