From 7da5c08f744eaea05329f7407a7c2150fca2fca3 Mon Sep 17 00:00:00 2001 From: Xilmi Date: Wed, 4 Dec 2024 15:07:13 +0100 Subject: [PATCH] Update ObjectClusterizer.cpp Actually fix the warning now. --- AI/Nullkiller/Analyzers/ObjectClusterizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/Nullkiller/Analyzers/ObjectClusterizer.cpp b/AI/Nullkiller/Analyzers/ObjectClusterizer.cpp index 0607fd756..dd7173b74 100644 --- a/AI/Nullkiller/Analyzers/ObjectClusterizer.cpp +++ b/AI/Nullkiller/Analyzers/ObjectClusterizer.cpp @@ -505,7 +505,7 @@ void ObjectClusterizer::clusterizeObject( else if (priority <= 0) continue; - bool interestingObject = path.turn() <= 2 || (priority > ai->settings->isUseFuzzy() ? 0.5f : 0); + bool interestingObject = path.turn() <= 2 || priority > (ai->settings->isUseFuzzy() ? 0.5f : 0); if(interestingObject) {