Sfoglia il codice sorgente

Update ObjectClusterizer.cpp

Fixed warning that prevents compilation on GitHub.
Xilmi 10 mesi fa
parent
commit
66bc6c0d52
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      AI/Nullkiller/Analyzers/ObjectClusterizer.cpp

+ 1 - 1
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)
 		{