- Timestamp:
- Nov 25, 2015, 8:46:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/DivisionController.cc
r10859 r10861 83 83 { 84 84 if (!this->isActive()) 85 return; 85 return; 86 86 SUPER(DivisionController, tick, dt); 87 87 } … … 90 90 if (!this || !this->getControllableEntity()) 91 91 return; 92 92 93 CommonController::action(); 94 if (!this || !this->getControllableEntity()) 95 return; 96 if (!(this->parsedActionpoints_.empty() && this->loopActionpoints_.empty())) 97 { 98 if (this->myFollower_) 99 { 100 this->myFollower_->takeActionpoints(this->parsedActionpoints_, this->loopActionpoints_, this->bLoop_); 101 } 102 else if (this->myWingman_) 103 { 104 this->myWingman_->takeActionpoints(this->parsedActionpoints_, this->loopActionpoints_, this->bLoop_); 105 } 106 } 93 107 94 108 }
Note: See TracChangeset
for help on using the changeset viewer.