- Timestamp:
- Dec 5, 2015, 10:47:51 PM (10 years ago)
- File:
- 
          - 1 edited
 
 
Legend:
- Unmodified
- Added
- Removed
- 
        code/branches/cpp11_v2/src/orxonox/interfaces/PickupCarrier.ccr10916 r10919 101 101 // Go recursively through all children to check whether they are a target. 102 102 std::vector<PickupCarrier*>* children = this->getCarrierChildren(); 103 for( std::vector<PickupCarrier*>::const_iterator it = children->begin(); it != children->end(); it++)103 for(PickupCarrier* carrier : *children) 104 104 { 105 if( (*it)->isTarget(pickup))105 if(carrier->isTarget(pickup)) 106 106 { 107 107 isTarget = true; 
Note: See TracChangeset
          for help on using the changeset viewer.
      


 
            







