mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Bring back cbc in CAdventureAI and rename the rest to cc
This commit is contained in:
@@ -122,7 +122,7 @@ void GraphPaths::calculatePaths(const CGHeroInstance * targetHero, const Nullkil
|
||||
|
||||
if(targetGraphNode.objID.hasValue())
|
||||
{
|
||||
targetNode.obj = aiNk->cbc->getObj(targetGraphNode.objID, false);
|
||||
targetNode.obj = aiNk->cc->getObj(targetGraphNode.objID, false);
|
||||
|
||||
if(targetNode.obj && targetNode.obj->ID == Obj::HERO)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user