Changeset 11105 for code/trunk/src/modules/objects
- Timestamp:
- Feb 1, 2016, 5:27:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/objects/SpaceBoundaries.cc
r11083 r11105 82 82 pawnsIn_.push_back(currentPawn); 83 83 } 84 } else if (this->reaction_ == 2) { 84 } 85 else if (this->reaction_ == 2) 86 { 85 87 float distance = this->computeDistance(currentPawn); 86 88 if(distance >= this->maxDistance_) … … 88 90 pawnsIn_.push_back(currentPawn); 89 91 } 90 } else { 92 } 93 else 94 { 91 95 pawnsIn_.push_back(currentPawn); 92 96 } … … 205 209 this->removeAllBillboards(); 206 210 211 if(!this->isActive()) 212 return; 213 207 214 float distance; 208 215 bool humanItem;
Note: See TracChangeset
for help on using the changeset viewer.