From 7e0c770dcdde0ce120148b3c42529168b93f8201 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 26 Feb 2021 11:44:17 +0100 Subject: [PATCH] ai: Restore default argument value for AIBehaviors::path_follow() --- contrib/src/ai/aiBehaviors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/ai/aiBehaviors.h b/contrib/src/ai/aiBehaviors.h index 3524a32b63..f1968db069 100644 --- a/contrib/src/ai/aiBehaviors.h +++ b/contrib/src/ai/aiBehaviors.h @@ -148,7 +148,7 @@ PUBLISHED: void obstacle_avoidance(float feeler_length = 1.0); - void path_follow(float follow_wt); + void path_follow(float follow_wt = 1.0f); void add_to_path(LVecBase3 pos); void start_follow(std::string type = "normal");