- Timestamp:
- Dec 11, 2015, 3:16:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/CommonController.cc
r10953 r10968 23 23 * Gani Aliguzhinov 24 24 * Co-authors: 25 * Dominik Solenicki25 * ... 26 26 * 27 27 */ … … 73 73 bool CommonController::sameTeam (ControllableEntity* entity1, ControllableEntity* entity2, Gametype* gametype) 74 74 { 75 //uncomment following code if functions stops working due to being a hack 76 /*if (!entity1 || !entity2) 77 return false; 78 return entity1->getTeam() == entity2->getTeam();*/ 75 79 76 if (!entity1 || !entity2) 80 77 return false;
Note: See TracChangeset
for help on using the changeset viewer.