mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
more thread_local removal in NK2, still WIP
This commit is contained in:
@@ -86,8 +86,7 @@ void ObjectGraph::removeObject(const CGObjectInstance * obj)
|
||||
{
|
||||
vstd::erase_if(nodes[obj->visitablePos()].connections, [&](const std::pair<int3, ObjectLink> & link) -> bool
|
||||
{
|
||||
auto tile = ccTl->getTile(link.first, false);
|
||||
|
||||
const auto tile = ccTl->getTile(link.first, false);
|
||||
return tile && tile->isWater();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user