1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

Update ObjectClusterizer.cpp

Fixed warning that prevents compilation on GitHub.
This commit is contained in:
Xilmi 2024-12-04 14:57:46 +01:00
parent c007bbbcd8
commit 66bc6c0d52

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