1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

finished removing thread local from NK2

This commit is contained in:
Mircea TheHonestCTO
2025-09-12 19:25:56 +02:00
parent 2f1c6946e3
commit b8eb49bc82
25 changed files with 117 additions and 264 deletions

View File

@@ -332,7 +332,6 @@ void ObjectClusterizer::clusterize()
tbb::blocked_range<size_t>(0, objs.size()),
[&](const tbb::blocked_range<size_t> & r)
{
SET_GLOBAL_STATE_TBB(aiNk->aiGw);
auto priorityEvaluator = aiNk->priorityEvaluators->acquire();
auto heroes = aiNk->cc->getHeroesInfo();
std::vector<AIPath> pathCache;