- Timestamp:
- Dec 8, 2015, 1:02:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/MasterController.cc
r10955 r10958 35 35 36 36 //Leaders share the fact that they have Wingmans 37 MasterController::MasterController(Context* context) : FightingController(context)37 MasterController::MasterController(Context* context) : Controller(context) 38 38 { 39 39 RegisterObject(MasterController); … … 120 120 } 121 121 //orxout (internal_error) << "Executing action of Controller # " << this->indexOfCurrentController_ << endl; 122 this->controllers_.at(this->indexOfCurrentController_)->action(); 122 this->controllers_.at(this->indexOfCurrentController_)->action(); 123 //bCopyOrientation makes ship oscillate like crazy if set to true all the time.s 124 this->controllers_.at(this->indexOfCurrentController_)->bCopyOrientation_ = this->ticks_ % 3 == 0; 123 125 124 126 ++this->numberOfTicksPassedSinceLastActionCall_;
Note: See TracChangeset
for help on using the changeset viewer.










