Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

CommonController now has static methods only. Replace with a namespace?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc

    r10875 r10877  
    315315        return 0;
    316316    }
    317     bool SectionController::setWingman(CommonController* cwingman)
    318     {
    319         WeakPtr<WingmanController> wingman = orxonox_cast<WingmanController*>(cwingman);
     317    bool SectionController::setWingman(ActionpointController* wingman)
     318    {
     319        WingmanController* newWingman = orxonox_cast<WingmanController*>(wingman);
    320320
    321321        if (!this->myWingman_)
    322322        {
    323             this->myWingman_ = wingman;
     323            this->myWingman_ = newWingman;
    324324            return true;
    325325        }
Note: See TracChangeset for help on using the changeset viewer.