diff --git a/Source/Engine/AI/BehaviorKnowledge.h b/Source/Engine/AI/BehaviorKnowledge.h
index aef894c73..e89b3de4b 100644
--- a/Source/Engine/AI/BehaviorKnowledge.h
+++ b/Source/Engine/AI/BehaviorKnowledge.h
@@ -83,13 +83,13 @@ public:
/// Checks if knowledge has a given goal (exact type match without base class check).
///
/// The goal type.
- /// True if has a given goal, otherwise false.
+ /// True if knowledge has a given goal, otherwise false.
API_FUNCTION() bool HasGoal(ScriptingTypeHandle type) const;
///
/// Checks if knowledge has a given goal (exact type match without base class check).
///
- /// True if has a given goal, otherwise false.
+ /// True if knowledge has a given goal, otherwise false.
template
FORCE_INLINE bool HasGoal()
{
diff --git a/Source/Engine/AI/BehaviorTreeNodes.cpp b/Source/Engine/AI/BehaviorTreeNodes.cpp
index 02080da7d..e5b9d8d60 100644
--- a/Source/Engine/AI/BehaviorTreeNodes.cpp
+++ b/Source/Engine/AI/BehaviorTreeNodes.cpp
@@ -140,7 +140,7 @@ void BehaviorTreeNode::Deserialize(DeserializeStream& stream, ISerializeModifier
{
SerializableScriptingObject::Deserialize(stream, modifier);
- Name.Clear(); // Missing Name is assumes as unnamed node
+ Name.Clear(); // Missing Name is assumed as unnamed node
DESERIALIZE(Name);
}
@@ -197,7 +197,6 @@ BehaviorUpdateResult BehaviorTreeSequenceNode::Update(const BehaviorUpdateContex
return BehaviorUpdateResult::Failed;
auto result = Children[state->CurrentChildIndex]->InvokeUpdate(context);
-
switch (result)
{
case BehaviorUpdateResult::Success:
@@ -232,7 +231,6 @@ BehaviorUpdateResult BehaviorTreeSelectorNode::Update(const BehaviorUpdateContex
return BehaviorUpdateResult::Failed;
auto result = Children[state->CurrentChildIndex]->InvokeUpdate(context);
-
switch (result)
{
case BehaviorUpdateResult::Success: