Skip to content

Commit

Permalink
🐛 fix errors in goap
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdd committed Jan 9, 2024
1 parent 1960302 commit 14fa2fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/aitoolkit/goap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ namespace aitoolkit::goap {
action->apply_effects(blackboard);
}
}

private:
std::queue<action_ptr<T>> m_actions;
};

/**
Expand Down Expand Up @@ -342,5 +345,7 @@ namespace aitoolkit::goap {
}
}
}
};

return plan<T>(std::queue<action_ptr<T>>{});
}
}

0 comments on commit 14fa2fa

Please sign in to comment.