1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-08 00:39:47 +02:00

Update ObjectClusterizer.cpp

Actually fix the warning now.
This commit is contained in:
Xilmi 2024-12-04 15:07:13 +01:00
parent 66bc6c0d52
commit 7da5c08f74

View File

@ -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)
{