]> ruin.nu Git - popboot.git/blobdiff - node.cpp
soft, not hard, goals and bugfixes in the gentoo file
[popboot.git] / node.cpp
index b4d22fb9569c28cea70176abce6ce585c2b8b8c1..83b3334a7dab9b6095e1d1907a35ac808d9d6bc9 100644 (file)
--- a/node.cpp
+++ b/node.cpp
@@ -70,7 +70,7 @@ StartNode::StartNode(const Literals& init){
 EndNode::EndNode(const Literals& goal){
        Preconditions goalState;
        for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g)
-               goalState[*g] = true;
+               goalState[*g] = false;
        _action = new Action("finish",goalState,"",EffectsMap());
        _preconditions = _action->preconditions();
 }