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");