mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-17 20:58:07 +02:00
Update ObjectClusterizer.cpp
Fixed warning that prevents compilation on GitHub.
This commit is contained in:
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user