issue not found

thought pawn wasnt possessed, it is
This commit is contained in:
2025-11-21 23:59:38 -05:00
parent 40293a9c03
commit 3e617322b1

View File

@@ -39,7 +39,7 @@ void ADDIPlayerController::BeginPlay()
void ADDIPlayerController::OnPossess(APawn* InPawn)
{
Super::OnPossess(InPawn);
GEngine->AddOnScreenDebugMessage(-1, 5, FColor::Cyan, FString::Printf(TEXT("%s Possessed"), *InPawn->GetName()));
// is this a shooter character?
if (ADDICharacter* DDICharacter = Cast<ADDICharacter>(InPawn))
{