From 5c8b9dc029e72968159002ddca32039617daa217 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Fri, 2 Feb 2024 23:30:31 +0100 Subject: [PATCH 1/2] Fix parallel task join orchestrator hard-resets its children. --- gdx-ai/src/com/badlogic/gdx/ai/btree/branch/Parallel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdx-ai/src/com/badlogic/gdx/ai/btree/branch/Parallel.java b/gdx-ai/src/com/badlogic/gdx/ai/btree/branch/Parallel.java index 95a7f6ba..69835412 100644 --- a/gdx-ai/src/com/badlogic/gdx/ai/btree/branch/Parallel.java +++ b/gdx-ai/src/com/badlogic/gdx/ai/btree/branch/Parallel.java @@ -155,7 +155,7 @@ protected Task copyTo (Task task) { public void resetAllChildren() { for (int i = 0, n = getChildCount(); i < n; i++) { Task child = getChild(i); - child.reset(); + child.resetTask(); } } From 9ee6feaa8cd34c96b0c00c9f6b6a69fe84832a47 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Fri, 2 Feb 2024 23:49:49 +0100 Subject: [PATCH 2/2] Update changes. --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index dfd920e3..8c4254cd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,6 @@ [1.8.3-SNAPSHOT] - Updated to libgdx 1.11.0 +- Fix: Parallel.Orchestrator.Join calls reset() instead of resetTask() on its children. [1.8.2] - Updated to libgdx 1.9.8