Changeset 8303 for code/trunk
- Timestamp:
- Apr 22, 2011, 8:11:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/PickupCarrier.cc
r8302 r8303 96 96 return true; 97 97 98 bool isTarget = false; 98 99 // Go recursively through all children to check whether they are a target. 99 100 std::vector<PickupCarrier*>* children = this->getCarrierChildren(); … … 101 102 { 102 103 if((*it)->isTarget(pickup)) 103 return true; 104 { 105 isTarget = true; 106 break; 107 } 104 108 } 105 109
Note: See TracChangeset
for help on using the changeset viewer.