- Timestamp:
- Dec 2, 2015, 10:31:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc
r10913 r10915 74 74 75 75 SUPER(SectionController, tick, dt); 76 if (this->timeOffset_ > = 0.5f && this->timeOffset_ <= 1.0f && !this->bActionCalled_)76 if (this->timeOffset_ > 0.8f && this->timeOffset_ <= 1.6f && !this->bActionCalled_) 77 77 { 78 78 this->action(); 79 79 this->bActionCalled_ = true; 80 80 } 81 if (this->timeOffset_ > 1.5f)81 if (this->timeOffset_ > 2.0f) 82 82 { 83 83 this->bActionCalled_ = false; 84 84 } 85 85 86 } 86 87 … … 154 155 } 155 156 } 157 156 158 this->actionCounter_ += this->actionCounter_ < 100000 ? 1 : -this->actionCounter_ ; 157 159 } … … 294 296 return 0; 295 297 } 298 296 299 bool SectionController::setWingman(ActionpointController* newWingman) 297 300 {
Note: See TracChangeset
for help on using the changeset viewer.