diff options
Diffstat (limited to 'SA_PlanCommands.cpp')
-rw-r--r-- | SA_PlanCommands.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/SA_PlanCommands.cpp b/SA_PlanCommands.cpp index 6f2b22764b4..41b3bbcb267 100644 --- a/SA_PlanCommands.cpp +++ b/SA_PlanCommands.cpp @@ -186,18 +186,11 @@ bool SA_AddTaskCmd::execute_next (void) this->undo(); - - bool isInitial = false; if (this->tasks_.empty()) return false; - /* - if(this->tasks_.front().task_id == 20 && this->tasks_.front){ - isInitial = true; - } - */ this->working_plan_->execute (this); this->num_tries_++; @@ -388,6 +381,10 @@ TaskInstID SA_AssocTaskImplCmd::get_task_inst (void) return this->task_inst_; }; +void SA_AssocTaskImplCmd::set_satisfied_insts(TaskInstSet set){ + this->satisfied_insts = set; +} + // Constructor. SA_AddOpenCondsCmd::SA_AddOpenCondsCmd (SA_PlanStrategy *plan_strat) |