Switch to unreal 5.3 (Fix warning)

This commit is contained in:
Arnaud Jamin
2024-02-27 23:07:09 -05:00
parent 7543b49ef7
commit 14ca7e035e
15 changed files with 32 additions and 18 deletions
@@ -101,7 +101,7 @@ bool UCogSampleGameplayAbility::CheckCost(const FGameplayAbilitySpecHandle Handl
//-----------------------------------------------------------------------------------
// Can start ability if it cost stamina and stamina > 0
//-----------------------------------------------------------------------------------
if (CostEffect->InheritableGameplayEffectTags.CombinedTags.HasTag(Tag_Effect_Type_Cost_Stamina))
if (CostEffect->GetAssetTags().HasTag(Tag_Effect_Type_Cost_Stamina))
{
const float Stamina = ActorInfo->AbilitySystemComponent->GetNumericAttribute(UCogSampleAttributeSet_Caster::GetStaminaAttribute());
if (Stamina > 0)