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:
parent
66bc6c0d52
commit
7da5c08f74
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user