1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

NKAI: various behavior fixes, undo max_gold_preasure

This commit is contained in:
Andrii Danylchenko
2023-07-30 11:33:52 +03:00
parent fb7477047a
commit f1a9ae99ee
10 changed files with 49 additions and 48 deletions

View File

@@ -227,7 +227,12 @@ void ObjectClusterizer::clusterize()
auto obj = objs[i];
if(!shouldVisitObject(obj))
return;
{
#if NKAI_TRACE_LEVEL >= 2
logAi->trace("Skip object %s%s.", obj->getObjectName(), obj->visitablePos().toString());
#endif
continue;
}
#if NKAI_TRACE_LEVEL >= 2
logAi->trace("Check object %s%s.", obj->getObjectName(), obj->visitablePos().toString());