Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2015, 8:42:03 PM (9 years ago)
Author:
gania
Message:

converted hack to a legal class

File:
1 edited

Legend:

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

    r10946 r10953  
    4040
    4141    RegisterClass(CommonController);
    42 
    4342    CommonController::CommonController(Context* context): Controller(context)
    4443    {
     
    9392        if (controller)
    9493        {
     94            if (controller->getIdentifier()->getName() == "MasterController")
     95                return true;
    9596            CommonController* ac = orxonox_cast<CommonController*>(controller);
    9697            if (ac)
     
    104105        if (controller)
    105106        {
     107            if (controller->getIdentifier()->getName() == "MasterController")
     108                return true;
    106109            CommonController* ac = orxonox_cast<CommonController*>(controller);
    107110            if (ac)
Note: See TracChangeset for help on using the changeset viewer.