diff --git a/Source/Nakatomi/EnemyAIController.cpp b/Source/Nakatomi/EnemyAIController.cpp index bc0440d..d432c4a 100644 --- a/Source/Nakatomi/EnemyAIController.cpp +++ b/Source/Nakatomi/EnemyAIController.cpp @@ -32,6 +32,11 @@ void AEnemyAIController::OnPossess(APawn* InPawn) //ensure(enemy->GetMovementComponent()->UseAccelerationForPathFollowing()); } +void AEnemyAIController::BeginPlay() +{ + Super::BeginPlay(); +} + void AEnemyAIController::Tick(float DeltaTime) { Super::Tick(DeltaTime); diff --git a/Source/Nakatomi/EnemyAIController.h b/Source/Nakatomi/EnemyAIController.h index ffda70c..4b0e154 100644 --- a/Source/Nakatomi/EnemyAIController.h +++ b/Source/Nakatomi/EnemyAIController.h @@ -33,6 +33,8 @@ public: virtual void OnPossess(APawn* InPawn) override; + virtual void BeginPlay() override; + virtual void Tick(float DeltaTime) override; virtual AEnemyCharacter* GetEnemyCharacter();