Bugfix AMyVICharacterAbilityBase not Inheriting from AMyVICharacterBase

This commit is contained in:
Rafal Swierczek 2024-01-11 04:14:31 +00:00
parent f8a86846b2
commit cc130091fa
5 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:80bdfba79839b49cc81b7204874717f7e07053dc9ed0eb7268757ba8c4468dfc oid sha256:f70301bdf4ee6c0aef0b05a730ab99a9d39b8eb287d6e023a8dbb42642db2d0d
size 64721 size 65864

Binary file not shown.

View File

@ -2,11 +2,11 @@
#include "MyVICharacterAbilityBase.h" #include "MyVICharacterAbilityBase.h"
////#include "Pawn/VICharacterAbilityBase.h" #include "Pawn/VICharacterAbilityBase.h"
#include "GAS/VIAbilitySystemComponent.h" #include "GAS/VIAbilitySystemComponent.h"
AMyVICharacterAbilityBase::AMyVICharacterAbilityBase(const FObjectInitializer& OI) AMyVICharacterAbilityBase::AMyVICharacterAbilityBase(const FObjectInitializer& OI)
: Super(OI) // : Super(OI)
{ {
AbilitySystem = CreateDefaultSubobject<UVIAbilitySystemComponent>(TEXT("AbilitySystem")); AbilitySystem = CreateDefaultSubobject<UVIAbilitySystemComponent>(TEXT("AbilitySystem"));
AbilitySystem->SetIsReplicated(true); AbilitySystem->SetIsReplicated(true);

View File

@ -3,8 +3,8 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "Pawn/VICharacterBase.h"
#include "AbilitySystemInterface.h" #include "AbilitySystemInterface.h"
#include "MyVICharacterBase.h"
#include "MyVICharacterAbilityBase.generated.h" #include "MyVICharacterAbilityBase.generated.h"
class UVIAbilitySystemComponent; class UVIAbilitySystemComponent;
@ -14,7 +14,7 @@ class UVIAbilitySystemComponent;
* Allows switching replication mode in Blueprint for the sake of AI using Minimal instead of Mixed * Allows switching replication mode in Blueprint for the sake of AI using Minimal instead of Mixed
*/ */
UCLASS() UCLASS()
class ENDLESSVENDETTA_API AMyVICharacterAbilityBase : public AVICharacterBase, public IAbilitySystemInterface class ENDLESSVENDETTA_API AMyVICharacterAbilityBase : public AMyVICharacterBase, public IAbilitySystemInterface
{ {
GENERATED_BODY() GENERATED_BODY()