- Timestamp:
- Nov 8, 2015, 6:19:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/SectionController.cc
r10762 r10780 63 63 this->moveToTargetPosition(); 64 64 } 65 65 if (this->bShooting_) 66 doFire(); 66 67 67 68 SUPER(SectionController, tick, dt); … … 86 87 if (this->target_ && this->myWingman_) 87 88 this->myWingman_->setTarget(this->target_); 88 89 89 if (canFire()) 90 doFire(); 90 this->bShooting_ = true; 91 else 92 this->bShooting_ = false; 91 93 92 94
Note: See TracChangeset
for help on using the changeset viewer.