Merge branch 'new_features'

feature/prepare-cross-merge
Nuno 4 years ago committed by kaetemi
parent 371f529699
commit 2804161714
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -501,7 +501,12 @@ DEFINE_ACTION(ContextSquadTemplateVariant,GRPTMPL)
if (!groupDesc)
return;
aii->registerSquadVariant( CWorkPtr::squadVariantName(), groupDesc );
FOREACH(itAIInstance, CCont<CAIInstance>, CAIS::instance().AIList())
{
CAIInstance* aiinstance = *itAIInstance;
aiinstance->registerSquadVariant( CWorkPtr::squadVariantName(), groupDesc );
}
CWorkPtr::groupDesc( groupDesc );
groupDesc->setBaseBotCount(botCount);

Loading…
Cancel
Save