]> ruin.nu Git - popboot.git/blobdiff - planner.cpp
removing unsatisfiable soft conditions
[popboot.git] / planner.cpp
index 10f5e57f2970f1cd7a111d497de7d75c81dc848b..747f3517760b42634ee5dcb5caa9d428dc93cc83 100644 (file)
@@ -63,6 +63,7 @@ void Planner::makePlan(Node* node){
                                }else{
                                        cerr << "Action with effect: " << precond->first << " not found!" << endl;
                                        cerr << "This is a soft precondition, so we will continue" << endl;
+                                       node->satisfyCondition(precond->first);
                                }
                        }
                }