Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7064


Ignore:
Timestamp:
May 31, 2010, 6:06:03 PM (14 years ago)
Author:
scheusso
Message:

fixed a bug in ArtificialController::sameTeam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/controllers/ArtificialController.cc

    r7037 r7064  
    734734        }
    735735
    736         if (entity1->getController())
    737             controller = entity1->getController();
     736        if (entity2->getController())
     737            controller = entity2->getController();
    738738        else
    739             controller = entity1->getXMLController();
     739            controller = entity2->getXMLController();
    740740        if (controller)
    741741        {
Note: See TracChangeset for help on using the changeset viewer.