mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
- Fixed heroes stalling. Locked heroes now try to decompose their goals exhaustively, which FINALLY works as intended.
- Fixed multiple issues with ClearWayTo goal.
This commit is contained in:
@@ -459,6 +459,6 @@ float FuzzyHelper::evaluate (Goals::Invalid & g)
|
||||
}
|
||||
float FuzzyHelper::evaluate (Goals::AbstractGoal & g)
|
||||
{
|
||||
logAi->debugStream() << boost::format("Cannot evaluate goal %s") % g.name();
|
||||
return -1e10;
|
||||
logAi->warnStream() << boost::format("Cannot evaluate goal %s") % g.name();
|
||||
return g.priority;
|
||||
}
|
||||
|
Reference in New Issue
Block a user