X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=planner.cpp;h=747f3517760b42634ee5dcb5caa9d428dc93cc83;hp=10f5e57f2970f1cd7a111d497de7d75c81dc848b;hb=dc4211bc1dc77ba3f1a71ec5737c61731614004b;hpb=fdcf46671ca1dab0dadb490bb4375dc3dd2fc9a4 diff --git a/planner.cpp b/planner.cpp index 10f5e57..747f351 100644 --- a/planner.cpp +++ b/planner.cpp @@ -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); } } }