Bugfix AMyVICharacterAbilityBase not Inheriting from AMyVICharacterBase
This commit is contained in:
parent
f8a86846b2
commit
cc130091fa
@ -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
|
||||||
|
BIN
EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/StarterContent/Props/MaterialSphere.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/Props/MaterialSphere.uasset
(Stored with Git LFS)
Binary file not shown.
@ -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);
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user