X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=main.cpp;h=4eb71ea59c4bd5f54fecf514cb4443b03232de45;hp=2affab554e32372a66adb1f312adaddd78ed99c6;hb=HEAD;hpb=498b277372ebab0008b97399d387285b36d88826 diff --git a/main.cpp b/main.cpp index 2affab5..4eb71ea 100644 --- a/main.cpp +++ b/main.cpp @@ -39,7 +39,8 @@ int main(int argc, char** argv){ getline(file,effects); getline(file,precond); cout << exec << ":" << effects << ":" << precond << endl; - actions.push_back(Action(exec, stringToVector(precond), stringToVector(effects))); + if (effects == "") continue; + //actions.push_back(Action(exec, stringToVector(precond), stringToVector(effects))); } Planner p(actions, stringToVector(argv[2]), stringToVector(argv[3]));